org.eclipse.xtend.shared.ui.core.metamodel.jdt.oaw
Class JdtOawClassicTypeStrategy
java.lang.Object
org.eclipse.xtend.shared.ui.core.metamodel.jdt.oaw.JdtOawClassicTypeStrategy
- All Implemented Interfaces:
- JdtTypeStrategy
public class JdtOawClassicTypeStrategy
- extends java.lang.Object
- implements JdtTypeStrategy
Method Summary |
java.lang.String |
getPropertiesInnerType(org.eclipse.jdt.core.IMethod method)
|
org.eclipse.jdt.core.IType[] |
getSuperTypes(org.eclipse.jdt.core.IType type)
|
java.lang.String |
getterToProperty(java.lang.String elementName)
|
boolean |
isAssignable(org.eclipse.jdt.core.IType toAssigTo,
org.eclipse.jdt.core.IType assignable)
|
boolean |
isConstant(org.eclipse.jdt.core.IField field)
Proves a field to represent a constant |
boolean |
isGetter(org.eclipse.jdt.core.IMethod method)
|
boolean |
isOperation(org.eclipse.jdt.core.IMethod method)
|
java.lang.String |
propertyName(org.eclipse.jdt.core.IField field)
|
java.lang.String |
propertyName(org.eclipse.jdt.core.IMethod method)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JdtOawClassicTypeStrategy
public JdtOawClassicTypeStrategy()
getSuperTypes
public org.eclipse.jdt.core.IType[] getSuperTypes(org.eclipse.jdt.core.IType type)
throws org.eclipse.jdt.core.JavaModelException
- Specified by:
getSuperTypes
in interface JdtTypeStrategy
- Throws:
org.eclipse.jdt.core.JavaModelException
isAssignable
public boolean isAssignable(org.eclipse.jdt.core.IType toAssigTo,
org.eclipse.jdt.core.IType assignable)
- Specified by:
isAssignable
in interface JdtTypeStrategy
isGetter
public boolean isGetter(org.eclipse.jdt.core.IMethod method)
- Specified by:
isGetter
in interface JdtTypeStrategy
getterToProperty
public java.lang.String getterToProperty(java.lang.String elementName)
isOperation
public boolean isOperation(org.eclipse.jdt.core.IMethod method)
- Specified by:
isOperation
in interface JdtTypeStrategy
propertyName
public java.lang.String propertyName(org.eclipse.jdt.core.IMethod method)
- Specified by:
propertyName
in interface JdtTypeStrategy
getPropertiesInnerType
public java.lang.String getPropertiesInnerType(org.eclipse.jdt.core.IMethod method)
- Specified by:
getPropertiesInnerType
in interface JdtTypeStrategy
isConstant
public boolean isConstant(org.eclipse.jdt.core.IField field)
- Description copied from interface:
JdtTypeStrategy
- Proves a field to represent a constant
- Specified by:
isConstant
in interface JdtTypeStrategy
- Parameters:
field
- The field to check
- Returns:
- true if the field represents a constant
propertyName
public java.lang.String propertyName(org.eclipse.jdt.core.IField field)
- Specified by:
propertyName
in interface JdtTypeStrategy