org.eclipse.xtend.shared.ui.core.metamodel.jdt
Interface JdtTypeStrategy

All Known Implementing Classes:
JdtJavaBeanTypeStrategy, JdtOawClassicTypeStrategy

public interface 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)
           
 boolean isAssignable(org.eclipse.jdt.core.IType toAssignTo, org.eclipse.jdt.core.IType assignableType)
           
 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)
           
 

Method Detail

getSuperTypes

org.eclipse.jdt.core.IType[] getSuperTypes(org.eclipse.jdt.core.IType type)
                                           throws java.lang.Exception
Throws:
java.lang.Exception

isAssignable

boolean isAssignable(org.eclipse.jdt.core.IType toAssignTo,
                     org.eclipse.jdt.core.IType assignableType)
                     throws java.lang.Exception
Throws:
java.lang.Exception

isGetter

boolean isGetter(org.eclipse.jdt.core.IMethod method)

isOperation

boolean isOperation(org.eclipse.jdt.core.IMethod method)

isConstant

boolean isConstant(org.eclipse.jdt.core.IField field)
Proves a field to represent a constant

Parameters:
field - The field to check
Returns:
true if the field represents a constant
Since:
4.2

propertyName

java.lang.String propertyName(org.eclipse.jdt.core.IMethod method)

propertyName

java.lang.String propertyName(org.eclipse.jdt.core.IField field)

getPropertiesInnerType

java.lang.String getPropertiesInnerType(org.eclipse.jdt.core.IMethod method)