List of usage examples for org.eclipse.jdt.core.dom NumberLiteral TOKEN_PROPERTY
SimplePropertyDescriptor TOKEN_PROPERTY
To view the source code for org.eclipse.jdt.core.dom NumberLiteral TOKEN_PROPERTY.
Click Source Link
From source file:org.moe.natjgen.EditContext.java
License:Apache License
protected Integer getNANumberValue(Annotation annotation, String key) { Expression expr = getNAValue(annotation, key); if (expr instanceof NumberLiteral) { return Integer.valueOf((String) getRewrite().get(expr, NumberLiteral.TOKEN_PROPERTY)); }/* w w w . j a v a 2s . c o m*/ return null; }