Class LazyMethodGen

    • Constructor Detail

      • LazyMethodGen

        public LazyMethodGen​(int modifiers,
                             Type returnType,
                             String name,
                             Type[] paramTypes,
                             String[] declaredExceptions,
                             LazyClassGen enclosingClass)
      • LazyMethodGen

        public LazyMethodGen​(org.aspectj.weaver.bcel.BcelMethod m,
                             LazyClassGen enclosingClass)
    • Method Detail

      • hasDeclaredLineNumberInfo

        public boolean hasDeclaredLineNumberInfo()
      • getDeclarationLineNumber

        public int getDeclarationLineNumber()
      • getDeclarationOffset

        public int getDeclarationOffset()
      • addAnnotation

        public void addAnnotation​(AnnotationAJ ax)
      • removeAnnotation

        public void removeAnnotation​(ResolvedType annotationType)
      • addParameterAnnotation

        public void addParameterAnnotation​(int parameterNumber,
                                           AnnotationAJ anno)
      • getAnnotationTypes

        public ResolvedType[] getAnnotationTypes()
      • hasAnnotation

        public boolean hasAnnotation​(UnresolvedType annotationType)
      • ensureAllLineNumberSetup

        public void ensureAllLineNumberSetup()
      • allocateLocal

        public int allocateLocal​(Type type)
      • allocateLocal

        public int allocateLocal​(int slots)
      • getMethod

        public Method getMethod()
      • markAsChanged

        public void markAsChanged()
      • toShortString

        public String toShortString()
      • isStatic

        public boolean isStatic()
      • isAbstract

        public boolean isAbstract()
      • isBridgeMethod

        public boolean isBridgeMethod()
      • getAccessFlags

        public int getAccessFlags()
      • getAccessFlagsWithoutSynchronized

        public int getAccessFlagsWithoutSynchronized()
      • isSynchronized

        public boolean isSynchronized()
      • setAccessFlags

        public void setAccessFlags​(int newFlags)
      • getArgumentTypes

        public Type[] getArgumentTypes()
      • getEnclosingClass

        public LazyClassGen getEnclosingClass()
      • getMaxLocals

        public int getMaxLocals()
      • getName

        public String getName()
      • getGenericReturnTypeSignature

        public String getGenericReturnTypeSignature()
      • getReturnType

        public Type getReturnType()
      • setMaxLocals

        public void setMaxLocals​(int maxLocals)
      • hasBody

        public boolean hasBody()
      • getDeclaredExceptions

        public String[] getDeclaredExceptions()
      • getClassName

        public String getClassName()
      • makeSynthetic

        public void makeSynthetic()
      • packBody

        public void packBody​(MethodGen gen)
      • optimizedPackBody

        public void optimizedPackBody​(MethodGen gen)
      • isPrivate

        public boolean isPrivate()
      • isProtected

        public boolean isProtected()
      • isDefault

        public boolean isDefault()
      • isPublic

        public boolean isPublic()
      • assertGoodBody

        public void assertGoodBody()
      • setEffectiveSignature

        public void setEffectiveSignature​(ResolvedMember member,
                                          Shadow.Kind kind,
                                          boolean shouldWeave)
      • getSignature

        public String getSignature()
      • getParameterSignature

        public String getParameterSignature()
      • getMemberView

        public org.aspectj.weaver.bcel.BcelMethod getMemberView()
      • forcePublic

        public void forcePublic()
      • getCanInline

        public boolean getCanInline()
      • setCanInline

        public void setCanInline​(boolean canInline)
      • addAttribute

        public void addAttribute​(Attribute attribute)
      • isConstructor

        public static boolean isConstructor​(LazyMethodGen aMethod)