List of usage examples for org.eclipse.jdt.internal.compiler.env IBinaryNestedType getModifiers
int getModifiers();
From source file:org.eclipse.che.jdt.BinaryTypeConvector.java
License:Open Source License
private static JsonElement toJsonMemberType(IBinaryNestedType type) { JsonObject object = new JsonObject(); object.add("enclosingTypeName", type.getEnclosingTypeName() == null ? JsonNull.INSTANCE : new JsonPrimitive(new String(type.getEnclosingTypeName()))); object.addProperty("modifiers", type.getModifiers()); object.add("name", type.getName() == null ? JsonNull.INSTANCE : new JsonPrimitive(new String(type.getName()))); return object; }