Class ReflectMember<M extends AccessibleObject & Member>

java.lang.Object
com.github.darksoulq.abyssallib.common.reflection.ReflectMember<M>
Direct Known Subclasses:
ReflectConstructor, ReflectField, ReflectMethod

public abstract class ReflectMember<M extends AccessibleObject & Member> extends Object
  • Method Details

    • getUnderlyingMember

      public M getUnderlyingMember()
    • getName

      public String getName()
    • getDeclaringClass

      public Class<?> getDeclaringClass()
    • getModifiers

      public int getModifiers()
    • isPublic

      public boolean isPublic()
    • isPrivate

      public boolean isPrivate()
    • isProtected

      public boolean isProtected()
    • isStatic

      public boolean isStatic()
    • isFinal

      public boolean isFinal()
    • isAbstract

      public boolean isAbstract()
    • isTransient

      public boolean isTransient()
    • isVolatile

      public boolean isVolatile()
    • isSynchronized

      public boolean isSynchronized()
    • isNative

      public boolean isNative()
    • isStrict

      public boolean isStrict()
    • getAnnotation

      public <A extends Annotation> Result<A> getAnnotation(Class<A> annotationClass)
    • getReflectAnnotation

      public <A extends Annotation> Result<ReflectAnnotation<A>> getReflectAnnotation(Class<A> annotationClass)
    • hasAnnotation

      public boolean hasAnnotation(Class<? extends Annotation> annotationClass)
    • getAnnotations

      public Annotation[] getAnnotations()
    • getDeclaredAnnotations

      public Annotation[] getDeclaredAnnotations()