Package gw.internal.gosu.properties
Class PropertiesType
- java.lang.Object
-
- gw.lang.reflect.AbstractType
-
- gw.lang.reflect.TypeBase
-
- gw.internal.gosu.properties.PropertiesType
-
- All Implemented Interfaces:
IFileRepositoryBasedType,IHasInnerClass,IPropertiesType,IType,Serializable
public class PropertiesType extends TypeBase implements IPropertiesType
Type based on aPropertyNode- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class gw.lang.reflect.TypeBase
_arrayComponentClass
-
Fields inherited from interface gw.lang.reflect.IType
EMPTY_ARRAY, EMPTY_TYPE_ARRAY, EMPTY_TYPE_LIST
-
-
Constructor Summary
Constructors Constructor Description PropertiesType(PropertiesTypeLoader typeLoader, PropertyNode propertyNode, IFile file)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intfindOffsetOf(PropertyNode node)StringgetCachedContent()ClassTypegetClassType()ITypegetInnerClass(CharSequence strTypeName)List<? extends IType>getInnerClasses()IType[]getInterfaces()List<? extends IType>getLoadedInnerClasses()intgetModifiers()StringgetName()StringgetNamespace()StringgetPropertiesFileKey(IPropertyInfo pi)StringgetRelativeName()ISourceFileHandlegetSourceFileHandle()IFile[]getSourceFiles()ITypegetSupertype()ITypeInfogetTypeInfo()ITypeLoadergetTypeLoader()booleanisMutable()ITyperesolveRelativeInnerClass(String strTypeName, boolean bForce)-
Methods inherited from class gw.lang.reflect.TypeBase
getAllClassesInClassHierarchyAsIntrinsicTypes, getAllTypesInHierarchy, getArrayComponent, getArrayComponentClass, getArrayLength, getArrayType, getArrayVersionsOfEachType, getComponentType, getCompoundTypeComponents, getDisplayName, getEnclosingType, getGenericType, getGenericTypeVariables, getParameterizedType, getTypeParameters, isAbstract, isArray, isAssignableFrom, isCompoundType, isDiscarded, isEnum, isFinal, isGenericType, isInterface, isParameterizedType, isPrimitive, isValid, loadAllTypesInHierarchy, loadJavaType, makeArrayInstance, makeArrayType, readResolve, setArrayComponent, setDiscarded, toString, unloadTypeInfo
-
Methods inherited from class gw.lang.reflect.AbstractType
getLiteralMetaType, getMetaType, getTheRef
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface gw.lang.parser.IFileRepositoryBasedType
getJavaName
-
Methods inherited from interface gw.lang.reflect.IType
compile, getAllTypesInHierarchy, getArrayComponent, getArrayLength, getArrayType, getComponentType, getCompoundTypeComponents, getDisplayName, getEnclosingType, getFunctionalInterface, getGenericType, getGenericTypeVariables, getLiteralMetaType, getMetaType, getParameterizedType, getTypeParameters, isAbstract, isArray, isAssignableFrom, isCompilable, isCompoundType, isDiscarded, isDynamic, isEnum, isFinal, isGenericType, isInterface, isParameterizedType, isPrimitive, isValid, makeArrayInstance, readResolve, setArrayComponent, setDiscarded, unloadTypeInfo
-
-
-
-
Constructor Detail
-
PropertiesType
public PropertiesType(PropertiesTypeLoader typeLoader, PropertyNode propertyNode, IFile file)
-
-
Method Detail
-
getInterfaces
public IType[] getInterfaces()
- Specified by:
getInterfacesin interfaceIType
-
getModifiers
public int getModifiers()
- Specified by:
getModifiersin interfaceIType- Overrides:
getModifiersin classTypeBase
-
getNamespace
public String getNamespace()
- Specified by:
getNamespacein interfaceIType
-
getRelativeName
public String getRelativeName()
- Specified by:
getRelativeNamein interfaceIType
-
getSupertype
public IType getSupertype()
- Specified by:
getSupertypein interfaceIType
-
getTypeInfo
public ITypeInfo getTypeInfo()
- Specified by:
getTypeInfoin interfaceIType
-
getTypeLoader
public ITypeLoader getTypeLoader()
- Specified by:
getTypeLoaderin interfaceIType
-
isMutable
public boolean isMutable()
-
getPropertiesFileKey
public String getPropertiesFileKey(IPropertyInfo pi)
- Specified by:
getPropertiesFileKeyin interfaceIPropertiesType
-
getSourceFiles
public IFile[] getSourceFiles()
- Specified by:
getSourceFilesin interfaceIType
-
findOffsetOf
public int findOffsetOf(PropertyNode node)
-
getCachedContent
public String getCachedContent()
-
getInnerClass
public IType getInnerClass(CharSequence strTypeName)
- Specified by:
getInnerClassin interfaceIHasInnerClass
-
getInnerClasses
public List<? extends IType> getInnerClasses()
- Specified by:
getInnerClassesin interfaceIHasInnerClass
-
getLoadedInnerClasses
public List<? extends IType> getLoadedInnerClasses()
- Specified by:
getLoadedInnerClassesin interfaceIHasInnerClass
-
resolveRelativeInnerClass
public IType resolveRelativeInnerClass(String strTypeName, boolean bForce)
- Specified by:
resolveRelativeInnerClassin interfaceIHasInnerClass
-
getSourceFileHandle
public ISourceFileHandle getSourceFileHandle()
- Specified by:
getSourceFileHandlein interfaceIFileRepositoryBasedType
-
getClassType
public ClassType getClassType()
- Specified by:
getClassTypein interfaceIFileRepositoryBasedType
-
-