C
- The Class to be accessedpublic abstract class InvokeDynamicClassAccess<C> extends AbstractClassAccess<C> implements ClassAccess<C>
fieldNames
Modifier | Constructor and Description |
---|---|
protected |
InvokeDynamicClassAccess(Class<C> clazz)
Constructor, intended for use by generated subclasses
|
Modifier and Type | Method and Description |
---|---|
protected <X> ClassAccess<X> |
constructClassAccess(Class<X> clazz) |
protected FieldAccess<C> |
constructFieldAccess(Field field) |
protected MethodAccess<C> |
constructMethodAccess(Method method) |
static <C> InvokeDynamicClassAccess<C> |
get(Class<C> clazz)
Get a new instance that can access the given Class.
|
boolean |
isNonStaticMemberClass()
Indicates if the class being accessed is a non-static member class
|
abstract C |
newInstance()
Create a new, uninitialised instance of the given class (if supported).
|
getClassModel, getDeclaredFieldAccess, getDeclaredFieldAccessors, getDeclaredFieldNames, getDeclaredFields, getDeclaredMethodAccess, getDeclaredMethodAccessors, getDeclaredMethodNames, getDeclaredMethods, getSuperClassAccess, getType, providesEquals, providesHashCode
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getClassModel, getDeclaredFieldAccess, getDeclaredFieldAccessors, getDeclaredMethodAccess, getDeclaredMethodAccessors, getSuperClassAccess, getType, providesEquals, providesHashCode
protected InvokeDynamicClassAccess(Class<C> clazz)
clazz
- The Class to be accessedpublic boolean isNonStaticMemberClass()
public static <C> InvokeDynamicClassAccess<C> get(Class<C> clazz)
C
- The type of classclazz
- Class to be accessedpublic abstract C newInstance()
ClassAccess
newInstance
in interface ClassAccess<C>
protected MethodAccess<C> constructMethodAccess(Method method)
constructMethodAccess
in class AbstractClassAccess<C>
protected FieldAccess<C> constructFieldAccess(Field field)
constructFieldAccess
in class AbstractClassAccess<C>
protected <X> ClassAccess<X> constructClassAccess(Class<X> clazz)
constructClassAccess
in class AbstractClassAccess<C>
Copyright © 2010–2018 Jadira Systems. All rights reserved.