Package gw.lang.reflect
Class AnnotationReflectUtil.SyntheticExceptionInfo
- java.lang.Object
-
- gw.lang.reflect.AnnotationReflectUtil.SyntheticExceptionInfo
-
- All Implemented Interfaces:
IExceptionInfo
,IFeatureInfo
- Enclosing class:
- AnnotationReflectUtil
public static class AnnotationReflectUtil.SyntheticExceptionInfo extends Object implements IExceptionInfo
-
-
Constructor Summary
Constructors Constructor Description SyntheticExceptionInfo(IFeatureInfo container, String exceptionName, String exceptionDescription)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IFeatureInfo
getContainer()
Get this feature's containing feature.String
getDescription()
A full description of this feature.String
getDisplayName()
Gets the display name of this feature.IType
getExceptionType()
Returns the intrinsic type this exception representsString
getName()
Gets the programmatic name or identifier of this feature.IType
getOwnersType()
Get this feature's owner's type.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface gw.lang.reflect.IFeatureInfo
getLocationInfo
-
-
-
-
Constructor Detail
-
SyntheticExceptionInfo
public SyntheticExceptionInfo(IFeatureInfo container, String exceptionName, String exceptionDescription)
-
-
Method Detail
-
getContainer
public IFeatureInfo getContainer()
Description copied from interface:IFeatureInfo
Get this feature's containing feature. May be null.- Specified by:
getContainer
in interfaceIFeatureInfo
-
getOwnersType
public IType getOwnersType()
Description copied from interface:IFeatureInfo
Get this feature's owner's type. If this feature has no owner, this is the type of the feature itself. Typically, the only kind of feature w/o an owner is an ITypeInfo, so properties, methods, params, etc. s/b considered owned. Hence, ultimately an ITypeInfo's type will be the owner's type for any given feature.- Specified by:
getOwnersType
in interfaceIFeatureInfo
-
getName
public String getName()
Description copied from interface:IFeatureInfo
Gets the programmatic name or identifier of this feature. Note this name should follow Java identifier naming conventions (alpha-num and underscores, but can't start with a digit).- Specified by:
getName
in interfaceIFeatureInfo
-
getDisplayName
public String getDisplayName()
Description copied from interface:IFeatureInfo
Gets the display name of this feature. There is no guarantee this display name is localized.- Specified by:
getDisplayName
in interfaceIFeatureInfo
-
getDescription
public String getDescription()
Description copied from interface:IFeatureInfo
A full description of this feature.- Specified by:
getDescription
in interfaceIFeatureInfo
-
getExceptionType
public IType getExceptionType()
Description copied from interface:IExceptionInfo
Returns the intrinsic type this exception represents- Specified by:
getExceptionType
in interfaceIExceptionInfo
-
-