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 int
findOffsetOf(PropertyNode node)
String
getCachedContent()
ClassType
getClassType()
IType
getInnerClass(CharSequence strTypeName)
List<? extends IType>
getInnerClasses()
IType[]
getInterfaces()
List<? extends IType>
getLoadedInnerClasses()
int
getModifiers()
String
getName()
String
getNamespace()
String
getPropertiesFileKey(IPropertyInfo pi)
String
getRelativeName()
ISourceFileHandle
getSourceFileHandle()
IFile[]
getSourceFiles()
IType
getSupertype()
ITypeInfo
getTypeInfo()
ITypeLoader
getTypeLoader()
boolean
isMutable()
IType
resolveRelativeInnerClass(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:
getInterfaces
in interfaceIType
-
getModifiers
public int getModifiers()
- Specified by:
getModifiers
in interfaceIType
- Overrides:
getModifiers
in classTypeBase
-
getNamespace
public String getNamespace()
- Specified by:
getNamespace
in interfaceIType
-
getRelativeName
public String getRelativeName()
- Specified by:
getRelativeName
in interfaceIType
-
getSupertype
public IType getSupertype()
- Specified by:
getSupertype
in interfaceIType
-
getTypeInfo
public ITypeInfo getTypeInfo()
- Specified by:
getTypeInfo
in interfaceIType
-
getTypeLoader
public ITypeLoader getTypeLoader()
- Specified by:
getTypeLoader
in interfaceIType
-
isMutable
public boolean isMutable()
-
getPropertiesFileKey
public String getPropertiesFileKey(IPropertyInfo pi)
- Specified by:
getPropertiesFileKey
in interfaceIPropertiesType
-
getSourceFiles
public IFile[] getSourceFiles()
- Specified by:
getSourceFiles
in interfaceIType
-
findOffsetOf
public int findOffsetOf(PropertyNode node)
-
getCachedContent
public String getCachedContent()
-
getInnerClass
public IType getInnerClass(CharSequence strTypeName)
- Specified by:
getInnerClass
in interfaceIHasInnerClass
-
getInnerClasses
public List<? extends IType> getInnerClasses()
- Specified by:
getInnerClasses
in interfaceIHasInnerClass
-
getLoadedInnerClasses
public List<? extends IType> getLoadedInnerClasses()
- Specified by:
getLoadedInnerClasses
in interfaceIHasInnerClass
-
resolveRelativeInnerClass
public IType resolveRelativeInnerClass(String strTypeName, boolean bForce)
- Specified by:
resolveRelativeInnerClass
in interfaceIHasInnerClass
-
getSourceFileHandle
public ISourceFileHandle getSourceFileHandle()
- Specified by:
getSourceFileHandle
in interfaceIFileRepositoryBasedType
-
getClassType
public ClassType getClassType()
- Specified by:
getClassType
in interfaceIFileRepositoryBasedType
-
-