public abstract class WrappingTestTypeBase extends gw.lang.reflect.AbstractType implements IWrappingTestType
IWrappingTestType.ConstructorListener, IWrappingTestType.MethodListener, IWrappingTestType.PropertyListener| Constructor and Description |
|---|
WrappingTestTypeBase() |
| Modifier and Type | Method and Description |
|---|---|
void |
fireConstructorCalled(Object[] args) |
void |
fireMethodCalled(gw.lang.reflect.IMethodInfo info,
Object o,
Object[] args) |
void |
firePropertyAccess(gw.lang.reflect.IPropertyInfo pi,
Object ctx,
boolean set,
Object value) |
Set<? extends gw.lang.reflect.IType> |
getAllTypesInHierarchy() |
Object |
getArrayComponent(Object array,
int iIndex) |
int |
getArrayLength(Object array) |
gw.lang.reflect.IType |
getArrayType() |
gw.lang.reflect.IType |
getComponentType() |
Set<gw.lang.reflect.IType> |
getCompoundTypeComponents() |
String |
getDisplayName() |
gw.lang.reflect.IType |
getEnclosingType() |
gw.lang.reflect.IType |
getGenericType() |
gw.lang.reflect.gs.IGenericTypeVariable[] |
getGenericTypeVariables() |
gw.lang.reflect.IType[] |
getInterfaces() |
int |
getModifiers() |
String |
getName() |
String |
getNamespace() |
gw.lang.reflect.IType |
getParameterizedType(gw.lang.reflect.IType... ofType) |
String |
getRelativeName() |
gw.lang.reflect.IType |
getSupertype() |
gw.lang.reflect.ITypeInfo |
getTypeInfo() |
gw.lang.reflect.ITypeLoader |
getTypeLoader() |
gw.lang.reflect.IType[] |
getTypeParameters() |
List<Class> |
getWrappedInterfaces() |
gw.lang.reflect.IType |
getWrappedType() |
void |
init(gw.lang.reflect.ITypeLoader loader,
String name,
gw.lang.reflect.IType wrappedType,
Class... wrappedInterfaces) |
boolean |
isAbstract() |
boolean |
isArray() |
boolean |
isAssignableFrom(gw.lang.reflect.IType type) |
boolean |
isCompoundType() |
boolean |
isDiscarded() |
boolean |
isEnum() |
boolean |
isFinal() |
boolean |
isGenericType() |
boolean |
isInterface() |
boolean |
isMutable() |
boolean |
isParameterizedType() |
boolean |
isPrimitive() |
boolean |
isValid() |
Object |
makeArrayInstance(int iLength) |
protected abstract Set<gw.lang.reflect.IType> |
makeTypeHierarchy() |
protected abstract gw.lang.reflect.ITypeInfo |
makeTypeInfo() |
Object |
readResolve() |
void |
setArrayComponent(Object array,
int iIndex,
Object value) |
void |
setDiscarded(boolean bDiscarded) |
void |
unloadTypeInfo() |
Closeable |
withConstructorListener(IWrappingTestType.ConstructorListener listener) |
Closeable |
withMethodListener(IWrappingTestType.MethodListener listener) |
Closeable |
withPropertyListener(IWrappingTestType.PropertyListener listener) |
getLiteralMetaType, getMetaType, getTheRefpublic void init(gw.lang.reflect.ITypeLoader loader,
String name,
gw.lang.reflect.IType wrappedType,
Class... wrappedInterfaces)
loader - of this typename - of this typewrappedType - that this type wrapswrappedInterfaces - interfaces that instances of the wrapped type implement
(which will be implemented by instances of this type)protected abstract Set<gw.lang.reflect.IType> makeTypeHierarchy()
protected abstract gw.lang.reflect.ITypeInfo makeTypeInfo()
public Closeable withPropertyListener(IWrappingTestType.PropertyListener listener)
withPropertyListener in interface IWrappingTestTypepublic void firePropertyAccess(gw.lang.reflect.IPropertyInfo pi,
Object ctx,
boolean set,
Object value)
public Closeable withMethodListener(IWrappingTestType.MethodListener listener)
withMethodListener in interface IWrappingTestTypepublic void fireMethodCalled(gw.lang.reflect.IMethodInfo info,
Object o,
Object[] args)
public Closeable withConstructorListener(IWrappingTestType.ConstructorListener listener)
withConstructorListener in interface IWrappingTestTypepublic void fireConstructorCalled(Object[] args)
public String getName()
getName in interface gw.lang.reflect.ITypepublic String getDisplayName()
getDisplayName in interface gw.lang.reflect.ITypepublic String getRelativeName()
getRelativeName in interface gw.lang.reflect.ITypepublic String getNamespace()
getNamespace in interface gw.lang.reflect.ITypepublic gw.lang.reflect.ITypeLoader getTypeLoader()
getTypeLoader in interface gw.lang.reflect.ITypepublic gw.lang.reflect.IType getSupertype()
getSupertype in interface gw.lang.reflect.ITypepublic gw.lang.reflect.IType getEnclosingType()
getEnclosingType in interface gw.lang.reflect.ITypepublic gw.lang.reflect.IType getGenericType()
getGenericType in interface gw.lang.reflect.ITypepublic boolean isFinal()
isFinal in interface gw.lang.reflect.ITypepublic boolean isInterface()
isInterface in interface gw.lang.reflect.ITypepublic boolean isEnum()
isEnum in interface gw.lang.reflect.ITypepublic gw.lang.reflect.IType[] getInterfaces()
getInterfaces in interface gw.lang.reflect.ITypepublic boolean isParameterizedType()
isParameterizedType in interface gw.lang.reflect.ITypepublic boolean isGenericType()
isGenericType in interface gw.lang.reflect.ITypepublic gw.lang.reflect.gs.IGenericTypeVariable[] getGenericTypeVariables()
getGenericTypeVariables in interface gw.lang.reflect.ITypepublic gw.lang.reflect.IType getParameterizedType(gw.lang.reflect.IType... ofType)
getParameterizedType in interface gw.lang.reflect.ITypepublic gw.lang.reflect.IType[] getTypeParameters()
getTypeParameters in interface gw.lang.reflect.ITypepublic Set<? extends gw.lang.reflect.IType> getAllTypesInHierarchy()
getAllTypesInHierarchy in interface gw.lang.reflect.ITypepublic boolean isArray()
isArray in interface gw.lang.reflect.ITypepublic boolean isPrimitive()
isPrimitive in interface gw.lang.reflect.ITypepublic gw.lang.reflect.IType getArrayType()
getArrayType in interface gw.lang.reflect.ITypepublic Object makeArrayInstance(int iLength)
makeArrayInstance in interface gw.lang.reflect.ITypepublic Object getArrayComponent(Object array, int iIndex) throws IllegalArgumentException, ArrayIndexOutOfBoundsException
getArrayComponent in interface gw.lang.reflect.ITypeIllegalArgumentExceptionArrayIndexOutOfBoundsExceptionpublic void setArrayComponent(Object array, int iIndex, Object value) throws IllegalArgumentException, ArrayIndexOutOfBoundsException
setArrayComponent in interface gw.lang.reflect.ITypeIllegalArgumentExceptionArrayIndexOutOfBoundsExceptionpublic int getArrayLength(Object array) throws IllegalArgumentException
getArrayLength in interface gw.lang.reflect.ITypeIllegalArgumentExceptionpublic gw.lang.reflect.IType getComponentType()
getComponentType in interface gw.lang.reflect.ITypepublic boolean isAssignableFrom(gw.lang.reflect.IType type)
isAssignableFrom in interface gw.lang.reflect.ITypepublic boolean isMutable()
isMutable in interface gw.lang.reflect.ITypepublic gw.lang.reflect.ITypeInfo getTypeInfo()
getTypeInfo in interface gw.lang.reflect.ITypepublic void unloadTypeInfo()
unloadTypeInfo in interface gw.lang.reflect.ITypepublic Object readResolve() throws ObjectStreamException
readResolve in interface gw.lang.reflect.ITypeObjectStreamExceptionpublic boolean isValid()
isValid in interface gw.lang.reflect.ITypepublic int getModifiers()
getModifiers in interface gw.lang.reflect.ITypepublic boolean isAbstract()
isAbstract in interface gw.lang.reflect.ITypepublic boolean isDiscarded()
isDiscarded in interface gw.lang.reflect.ITypepublic void setDiscarded(boolean bDiscarded)
setDiscarded in interface gw.lang.reflect.ITypepublic boolean isCompoundType()
isCompoundType in interface gw.lang.reflect.ITypepublic Set<gw.lang.reflect.IType> getCompoundTypeComponents()
getCompoundTypeComponents in interface gw.lang.reflect.ITypepublic gw.lang.reflect.IType getWrappedType()
Copyright © 2015. All rights reserved.