Constructor and description |
---|
Java8
() |
Type Params | Return Type | Name and description |
---|---|---|
|
boolean |
checkAccessible(Class<?> callerClass, Class<?> declaringClass, int memberModifiers, boolean allowIllegalAccess) |
|
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 |
|
void |
configureAnnotation(AnnotationNode node) |
|
void |
configureAnnotationNodeFromDefinition(AnnotationNode definition, AnnotationNode root) |
|
void |
configureClassNode(CompileUnit compileUnit, ClassNode classNode) |
|
static GenericsType |
configureTypeVariableDefinition(ClassNode base, ClassNode[] cBounds) |
|
static ClassNode |
configureTypeVariableReference(String name) |
|
protected int |
getElementCode(ElementType value) |
|
Object |
getInvokeSpecialHandle(Method method, Object receiver) |
|
Class<?>[] |
getPluginDefaultGroovyMethods() |
|
Class<?>[] |
getPluginStaticGroovyMethods() |
|
int |
getVersion() |
|
void |
invalidateCallSites() |
|
Object |
invokeHandle(Object handle, Object[] args) |
|
protected Parameter |
makeParameter(CompileUnit cu, com.thoughtworks.qdox.model.Type type, Class<?> cl, Annotation[] annotations, String name) |
|
protected Parameter[] |
processParameters(CompileUnit compileUnit, Method m) |
|
void |
setAdditionalClassInformation(ClassNode cn) |
|
MetaMethod |
transformMetaMethod(MetaClass metaClass, MetaMethod metaMethod, Class<?> caller) |
|
MetaMethod |
transformMetaMethod(MetaClass metaClass, MetaMethod metaMethod) |
|
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
Copyright © 2003-2020 The Apache Software Foundation. All rights reserved.