public class JavaStaticInitializer extends JavaCodeUnit
JavaCodeUnit.Predicates
HasReturnType.Functions
HasName.AndFullName, HasName.Functions
CanBeAnnotated.Utils
HasOwner.Functions
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
STATIC_INITIALIZER_NAME |
Modifier and Type | Method and Description |
---|---|
java.util.Set<? extends JavaAccess<?>> |
getAccessesToSelf() |
java.lang.reflect.Member |
reflect()
Resolves the respective
Member from the classpath.NOTE: This method will throw an exception, if the owning Class or any of its dependencies
can't be found on the classpath. |
getConstructorCallsFromSelf, getFieldAccesses, getFullName, getMethodCallsFromSelf, getParameters, getReturnType, isConstructor
getAnnotationOfType, getAnnotationOfType, getAnnotations, getDescriptor, getModifiers, getName, getOwner, isAnnotatedWith, isAnnotatedWith, isAnnotatedWith, toString, tryGetAnnotationOfType, tryGetAnnotationOfType
public static final java.lang.String STATIC_INITIALIZER_NAME
public java.util.Set<? extends JavaAccess<?>> getAccessesToSelf()
getAccessesToSelf
in class JavaMember
public java.lang.reflect.Member reflect()
JavaMember
Member
from the classpath.Class
or any of its dependencies
can't be found on the classpath.reflect
in class JavaMember
Member
equivalent to this JavaMember