Package soot.tagkit

Examples of soot.tagkit.VisibilityParameterAnnotationTag


       
        //Find parameter annotations
        int count = m.getParameterCount();
        for (int i = 0; i<count; i++) {
          if (isStringType(m.getParameterType(i))) {
            VisibilityParameterAnnotationTag vpat = (VisibilityParameterAnnotationTag)m.getTag("VisibilityParameterAnnotationTag");
            if (vpat != null) {
              VisibilityAnnotationTag vat = vpat.getVisibilityAnnotations().get(i);
              Automaton automaton = getAutomatonFromTag(vat);
              if (automaton != null) {
                Map<Integer,Automaton> pMap;
                if (parameterAutomatonMap.containsKey(m)) {
                  pMap = parameterAutomatonMap.get(m);
View Full Code Here


   * Returns the Type annotation for a method parameter, or null if not present.
   */
  public String getTypeAnnotationForParameter(SootMethod m, int parameter) {
    if (!isAnnotatableType(m.getParameterType(parameter)))
      return null;
    VisibilityParameterAnnotationTag tag = (VisibilityParameterAnnotationTag)m.getTag("VisibilityParameterAnnotationTag");
    if (tag == null)
      return null;
    return getTypeAnnotation(tag.getVisibilityAnnotations().get(parameter));
  }
View Full Code Here

TOP

Related Classes of soot.tagkit.VisibilityParameterAnnotationTag

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.