Package org.junit.runners.model
Class FrameworkMember<T extends FrameworkMember<T>>
- java.lang.Object
-
- org.junit.runners.model.FrameworkMember<T>
-
- All Implemented Interfaces:
Annotatable
- Direct Known Subclasses:
FrameworkField,FrameworkMethod
public abstract class FrameworkMember<T extends FrameworkMember<T>> extends java.lang.Object implements Annotatable
Parent class forFrameworkFieldandFrameworkMethod- Since:
- 4.7
-
-
Constructor Summary
Constructors Constructor Description FrameworkMember()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract java.lang.Class<?>getDeclaringClass()protected abstract intgetModifiers()abstract java.lang.StringgetName()abstract java.lang.Class<?>getType()(package private) ThandlePossibleBridgeMethod(java.util.List<T> members)(package private) abstract booleanisBridgeMethod()booleanisPublic()Returns true if this member is public, false if not.(package private) abstract booleanisShadowedBy(T otherMember)booleanisStatic()Returns true if this member is static, false if not.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.junit.runners.model.Annotatable
getAnnotation, getAnnotations
-
-
-
-
Method Detail
-
isShadowedBy
abstract boolean isShadowedBy(T otherMember)
-
isBridgeMethod
abstract boolean isBridgeMethod()
-
getModifiers
protected abstract int getModifiers()
-
isStatic
public boolean isStatic()
Returns true if this member is static, false if not.
-
isPublic
public boolean isPublic()
Returns true if this member is public, false if not.
-
getName
public abstract java.lang.String getName()
-
getType
public abstract java.lang.Class<?> getType()
-
getDeclaringClass
public abstract java.lang.Class<?> getDeclaringClass()
-
-