List of usage examples for org.eclipse.jdt.core.dom PrimitiveType PRIMITIVE_TYPE_CODE_PROPERTY
SimplePropertyDescriptor PRIMITIVE_TYPE_CODE_PROPERTY
To view the source code for org.eclipse.jdt.core.dom PrimitiveType PRIMITIVE_TYPE_CODE_PROPERTY.
Click Source Link
From source file:org.moe.natjgen.MethodEditor.java
License:Apache License
private boolean isSimilarToPrimitiveType(Type natjType, org.eclipse.jdt.core.dom.Type domType) { if (!natjType.isPrimitive() && !natjType.isVoid()) { return false; }/* w w w.jav a 2s .com*/ Code c = (Code) getRewrite().get(domType, PrimitiveType.PRIMITIVE_TYPE_CODE_PROPERTY); return c.toString().equals(natjType.toString()); }