Interface ResolvedMember

All Superinterfaces:
AnnotatedElement, Comparable<Member>, Member, TypeVariableDeclaringElement
All Known Implementing Classes:
AtAjAttributes.LazyResolvedPointcutDefinition, DeferredResolvedPointcutDefinition, JoinPointSignature, ReflectionBasedResolvedMemberImpl, ResolvedMemberImpl, ResolvedPointcutDefinition

public interface ResolvedMember extends Member, AnnotatedElement, TypeVariableDeclaringElement
  • Field Details

  • Method Details

    • getModifiers

      int getModifiers(World world)
      Specified by:
      getModifiers in interface Member
    • getModifiers

      int getModifiers()
      Specified by:
      getModifiers in interface Member
    • getExceptions

      UnresolvedType[] getExceptions(World world)
      Specified by:
      getExceptions in interface Member
    • getExceptions

      UnresolvedType[] getExceptions()
    • getAssociatedShadowMunger

      ShadowMunger getAssociatedShadowMunger()
    • isAjSynthetic

      boolean isAjSynthetic()
    • isCompatibleWith

      boolean isCompatibleWith(Member am)
    • hasAnnotation

      boolean hasAnnotation(UnresolvedType ofType)
      Specified by:
      hasAnnotation in interface AnnotatedElement
    • getAnnotations

      AnnotationAJ[] getAnnotations()
      Specified by:
      getAnnotations in interface Member
    • getAnnotationTypes

      ResolvedType[] getAnnotationTypes()
      Specified by:
      getAnnotationTypes in interface AnnotatedElement
    • setAnnotationTypes

      void setAnnotationTypes(ResolvedType[] annotationtypes)
    • addAnnotation

      void addAnnotation(AnnotationAJ annotation)
    • isBridgeMethod

      boolean isBridgeMethod()
    • isVarargsMethod

      boolean isVarargsMethod()
    • isSynthetic

      boolean isSynthetic()
    • write

      void write(CompressingDataOutputStream s) throws IOException
      Throws:
      IOException
    • getSourceContext

      ISourceContext getSourceContext(World world)
    • getParameterNames

      String[] getParameterNames()
    • setParameterNames

      void setParameterNames(String[] names)
    • getParameterAnnotations

      AnnotationAJ[][] getParameterAnnotations()
    • getParameterAnnotationTypes

      ResolvedType[][] getParameterAnnotationTypes()
    • getAnnotationDefaultValue

      String getAnnotationDefaultValue()
    • getParameterSignatureErased

      String getParameterSignatureErased()
    • getSignatureErased

      String getSignatureErased()
    • getParameterNames

      String[] getParameterNames(World world)
      Specified by:
      getParameterNames in interface Member
    • getEffectiveSignature

    • getSourceLocation

      ISourceLocation getSourceLocation()
    • getStart

      int getStart()
    • getEnd

      int getEnd()
    • getSourceContext

      ISourceContext getSourceContext()
    • setPosition

      void setPosition(int sourceStart, int sourceEnd)
    • setSourceContext

      void setSourceContext(ISourceContext sourceContext)
    • isAbstract

      boolean isAbstract()
    • isPublic

      boolean isPublic()
    • isDefault

      boolean isDefault()
    • isVisible

      boolean isVisible(ResolvedType fromType)
    • setCheckedExceptions

      void setCheckedExceptions(UnresolvedType[] checkedExceptions)
    • setAnnotatedElsewhere

      void setAnnotatedElsewhere(boolean b)
    • isAnnotatedElsewhere

      boolean isAnnotatedElsewhere()
    • toGenericString

      String toGenericString()
    • toDebugString

      String toDebugString()
    • hasBackingGenericMember

      boolean hasBackingGenericMember()
    • getBackingGenericMember

      ResolvedMember getBackingGenericMember()
    • getGenericReturnType

      UnresolvedType getGenericReturnType()
      Get the UnresolvedType for the return type, taking generic signature into account
      Specified by:
      getGenericReturnType in interface Member
    • getGenericParameterTypes

      UnresolvedType[] getGenericParameterTypes()
      Get the TypeXs of the parameter types, taking generic signature into account
      Specified by:
      getGenericParameterTypes in interface Member
    • equalsApartFromDeclaringType

      boolean equalsApartFromDeclaringType(Object other)
    • parameterizedWith

      ResolvedMemberImpl parameterizedWith(UnresolvedType[] typeParameters, ResolvedType newDeclaringType, boolean isParameterized)
    • parameterizedWith

      ResolvedMemberImpl parameterizedWith(UnresolvedType[] typeParameters, ResolvedType newDeclaringType, boolean isParameterized, List<String> aliases)
    • setTypeVariables

      void setTypeVariables(TypeVariable[] types)
    • getTypeVariables

      TypeVariable[] getTypeVariables()
    • matches

      boolean matches(ResolvedMember aCandidateMatch, boolean ignoreGenerics)
      Returns true if this member matches the other. The matching takes into account name and parameter types only. When comparing parameter types, we allow any type variable to match any other type variable regardless of bounds.
    • evictWeavingState

      void evictWeavingState()
    • parameterizedWith

      ResolvedMember parameterizedWith(Map<String,​UnresolvedType> m, World w)
    • isDefaultConstructor

      boolean isDefaultConstructor()
    • setAnnotations

      void setAnnotations(AnnotationAJ[] annotations)