Type Params | Return Type | Name and description |
---|---|---|
|
public boolean |
checkAccessible(Class<?> callerClass, Class<?> declaringClass, int memberModifiers, boolean allowIllegalAccess) |
|
public boolean |
checkCanSetAccessible(AccessibleObject accessibleObject, Class<?> callerClass) The following scenarios can not set accessible, i.e. the return value is false 1) SecurityException occurred 2) the accessible object is a Constructor object for the Class class |
|
public void |
configureAnnotation(AnnotationNode node) |
|
protected void |
configureAnnotation(AnnotationNode node, Annotation annotation) |
|
public void |
configureAnnotationNodeFromDefinition(AnnotationNode definition, AnnotationNode root) |
|
public void |
configureClassNode(CompileUnit compileUnit, ClassNode classNode) |
|
public static GenericsType |
configureTypeVariableDefinition(ClassNode base, ClassNode[] cBounds) |
|
public static ClassNode |
configureTypeVariableReference(String name) |
<T> |
public T |
doPrivileged(PrivilegedAction<T> action) |
<T> |
public T |
doPrivileged(PrivilegedExceptionAction<T> action) |
|
protected void |
fillParameterNames(String[] names, Member member) |
|
protected int |
getElementCode(ElementType value) |
|
public Object |
getInvokeSpecialHandle(Method method, Object receiver) |
|
protected MethodHandles.Lookup |
getLookup(Object receiver) |
|
public Class<?>[] |
getPluginDefaultGroovyMethods() |
|
public Class<?>[] |
getPluginStaticGroovyMethods() |
|
public int |
getVersion() |
|
public void |
invalidateCallSites() |
|
public Object |
invokeHandle(Object handle, Object[] args) |
|
protected ClassNode |
makeClassNode(CompileUnit cu, com.thoughtworks.qdox.model.Type t, Class<?> c) |
|
protected void |
makeRecordComponents(CompileUnit cu, ClassNode classNode, Class<?> clazz) |
|
protected MethodHandles.Lookup |
newLookup(Class<?> declaringClass) |
|
public static MethodHandles.Lookup |
of(Class<?> declaringClass) |
|
public void |
setAdditionalClassInformation(ClassNode cn) |
|
public MetaMethod |
transformMetaMethod(MetaClass metaClass, MetaMethod metaMethod, Class<?> caller) |
|
public MetaMethod |
transformMetaMethod(MetaClass metaClass, MetaMethod metaMethod) |
|
public boolean |
trySetAccessible(AccessibleObject ao) |
The following scenarios can not set accessible, i.e. the return value is false 1) SecurityException occurred 2) the accessible object is a Constructor object for the Class class
accessibleObject
- the accessible object to checkcallerClass
- the callerClass to invoke setAccessible