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