Package gw.lang.reflect
Class FeatureManager<T extends CharSequence>
- java.lang.Object
-
- gw.lang.reflect.FeatureManager<T>
-
public class FeatureManager<T extends CharSequence> extends Object
-
-
Constructor Summary
Constructors Constructor Description FeatureManager(IRelativeTypeInfo typeInfo, boolean caseSensitive)
FeatureManager(IRelativeTypeInfo typeInfo, boolean caseSensitive, boolean addObjectMethods)
-
Method Summary
-
-
-
Constructor Detail
-
FeatureManager
public FeatureManager(IRelativeTypeInfo typeInfo, boolean caseSensitive)
-
FeatureManager
public FeatureManager(IRelativeTypeInfo typeInfo, boolean caseSensitive, boolean addObjectMethods)
-
-
Method Detail
-
getAccessibilityForClass
public static IRelativeTypeInfo.Accessibility getAccessibilityForClass(IType ownersClass, IType whosAskin)
-
isInEnclosingClassHierarchy
public static boolean isInEnclosingClassHierarchy(IType ownersClass, IType whosAskin)
-
isInEnhancedTypesHierarchy
protected static boolean isInEnhancedTypesHierarchy(IType ownersClass, IType whosAskin)
-
isFeatureAccessible
public static boolean isFeatureAccessible(IAttributedFeatureInfo property, IRelativeTypeInfo.Accessibility accessibility)
-
clear
public void clear()
-
getProperties
public List<IPropertyInfo> getProperties(IRelativeTypeInfo.Accessibility accessibility)
-
getProperty
public IPropertyInfo getProperty(IRelativeTypeInfo.Accessibility accessibility, CharSequence propName)
-
getMethods
public MethodList getMethods(IRelativeTypeInfo.Accessibility accessibility)
-
getMethod
public IMethodInfo getMethod(IRelativeTypeInfo.Accessibility accessibility, CharSequence methodName, IType... params)
-
getConstructors
public List<? extends IConstructorInfo> getConstructors(IRelativeTypeInfo.Accessibility accessibility)
-
getConstructor
public IConstructorInfo getConstructor(IRelativeTypeInfo.Accessibility accessibility, IType[] params)
-
maybeInitMethods
protected void maybeInitMethods()
-
maybeInitProperties
protected void maybeInitProperties()
-
maybeInitConstructors
protected void maybeInitConstructors()
-
addEnhancementMethods
protected void addEnhancementMethods(List<IMethodInfo> privateMethods)
-
addEnhancementProperties
protected void addEnhancementProperties(PropertyNameMap<T> privateProps, boolean caseSensitive)
-
setSuperPropertyPrefix
public void setSuperPropertyPrefix(String superPropertyPrefix)
-
setSupertypeToCopyPropertiesFrom
public void setSupertypeToCopyPropertiesFrom(IType supertypeToCopyPropertiesFrom)
-
mergeProperties
protected void mergeProperties(PropertyNameMap<T> props, IType type, boolean replace)
-
mergeProperty
protected void mergeProperty(PropertyNameMap<T> props, IPropertyInfo propertyInfo, boolean replace)
-
mergeMethods
protected void mergeMethods(MethodList methods, IType type, boolean replace)
-
mergeMethod
protected void mergeMethod(MethodList methods, IMethodInfo thisMethodInfo, boolean replace)
-
areMethodParamsEqual
protected boolean areMethodParamsEqual(IType thisMethodParamType, IType superMethodParamType)
-
-