Schnittstelle Member

Alle Superschnittstellen:
Comparable<Member>
Alle bekannten Unterschnittstellen:
ResolvedMember
Alle bekannten Implementierungsklassen:
AtAjAttributes.LazyResolvedPointcutDefinition, DeferredResolvedPointcutDefinition, JoinPointSignature, MemberImpl, ReflectionBasedResolvedMemberImpl, ResolvedMemberImpl, ResolvedPointcutDefinition

public interface Member extends Comparable<Member>
Abstract representation of a member (field/constructor/method) within a type.
Autor:
PARC, Adrian Colyer, Andy Clement
  • Felddetails

    • NONE

      static final Member[] NONE
    • METHOD

      static final MemberKind METHOD
    • FIELD

      static final MemberKind FIELD
    • CONSTRUCTOR

      static final MemberKind CONSTRUCTOR
    • STATIC_INITIALIZATION

      static final MemberKind STATIC_INITIALIZATION
    • POINTCUT

      static final MemberKind POINTCUT
    • ADVICE

      static final MemberKind ADVICE
    • HANDLER

      static final MemberKind HANDLER
    • MONITORENTER

      static final MemberKind MONITORENTER
    • MONITOREXIT

      static final MemberKind MONITOREXIT
    • NO_PARAMETER_ANNOTATIONXS

      static final AnnotationAJ[][] NO_PARAMETER_ANNOTATIONXS
    • NO_PARAMETER_ANNOTATION_TYPES

      static final ResolvedType[][] NO_PARAMETER_ANNOTATION_TYPES
  • Methodendetails

    • getKind

      MemberKind getKind()
      Gibt zurück:
      the kind of member from those listed as MemberKind instances
    • getName

      String getName()
    • getDeclaringType

      UnresolvedType getDeclaringType()
    • getParameterTypes

      UnresolvedType[] getParameterTypes()
    • getGenericParameterTypes

      UnresolvedType[] getGenericParameterTypes()
    • getType

      UnresolvedType getType()
    • getReturnType

      UnresolvedType getReturnType()
    • getGenericReturnType

      UnresolvedType getGenericReturnType()
    • getSignature

      String getSignature()
      Return full signature, including return type, e.g. "()LFastCar;". For a signature without the return type, use getParameterSignature() - it is important to choose the right one in the face of covariance.
    • getJoinPointSignatures

      JoinPointSignatureIterator getJoinPointSignatures(World world)
    • getArity

      int getArity()
    • getParameterSignature

      String getParameterSignature()
      Return signature without return type, e.g. "()" for a signature *with* the return type, use getSignature() - it is important to choose the right one in the face of covariance.
    • getModifiers

      int getModifiers(World world)
    • getModifiers

      int getModifiers()
    • canBeParameterized

      boolean canBeParameterized()
      Returns true iff the member is generic (NOT parameterized)
    • getAnnotations

      AnnotationAJ[] getAnnotations()
    • getDeclaringTypes

      Collection<ResolvedType> getDeclaringTypes(World world)
    • getParameterNames

      String[] getParameterNames(World world)
    • getExceptions

      UnresolvedType[] getExceptions(World world)
    • resolve

      ResolvedMember resolve(World world)
    • compareTo

      int compareTo(Member other)
      Angegeben von:
      compareTo in Schnittstelle Comparable<Member>