C
- The Class to be accessedpublic class PortableClassAccess<C> extends AbstractClassAccess<C> implements ClassAccess<C>
fieldNames
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> PortableClassAccess<C> |
get(Class<C> clazz)
Get a new instance that can access the given Class.
|
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
public C newInstance()
ClassAccess
newInstance
in interface ClassAccess<C>
public static <C> PortableClassAccess<C> get(Class<C> clazz)
C
- The type of classclazz
- Class to be accessedprotected 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.