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 forFrameworkField
andFrameworkMethod
- 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 int
getModifiers()
abstract java.lang.String
getName()
abstract java.lang.Class<?>
getType()
boolean
isPublic()
Returns true if this member is public, false if not.boolean
isStatic()
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
-
-
-
-
Constructor Detail
-
FrameworkMember
public FrameworkMember()
-
-
Method Detail
-
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()
-
-