diff --git a/sfge/src/main/java/com/salesforce/apex/jorje/ModifierNodeWrapper.java b/sfge/src/main/java/com/salesforce/apex/jorje/ModifierNodeWrapper.java index 52e0e5b10..d98304b95 100644 --- a/sfge/src/main/java/com/salesforce/apex/jorje/ModifierNodeWrapper.java +++ b/sfge/src/main/java/com/salesforce/apex/jorje/ModifierNodeWrapper.java @@ -23,5 +23,7 @@ protected void fillProperties(Map properties) { properties.put(Schema.ABSTRACT, Modifier.isAbstract(javaModifiers)); properties.put(Schema.STATIC, Modifier.isStatic(javaModifiers)); properties.put(Schema.GLOBAL, getNode().getModifiers().has(ModifierTypeInfos.GLOBAL)); + properties.put(Schema.VIRTUAL, getNode().getModifiers().has(ModifierTypeInfos.VIRTUAL)); + properties.put(Schema.OVERRIDE, getNode().getModifiers().has(ModifierTypeInfos.OVERRIDE)); } } diff --git a/sfge/src/main/java/com/salesforce/graph/Schema.java b/sfge/src/main/java/com/salesforce/graph/Schema.java index 8e865d78f..f5b011cd1 100644 --- a/sfge/src/main/java/com/salesforce/graph/Schema.java +++ b/sfge/src/main/java/com/salesforce/graph/Schema.java @@ -48,6 +48,7 @@ public class Schema { public static final String NAMES = "Names"; public static final String NAMESPACE_ACCESSIBLE = "NamespaceAccessible"; public static final String OPERATOR = "Operator"; + public static final String OVERRIDE = "Override"; public static final String REFERENCE_TYPE = "ReferenceType"; public static final String REMOTE_ACTION = "RemoteAction"; public static final String RETURN_TYPE = "ReturnType"; @@ -60,6 +61,7 @@ public class Schema { public static final String TYPE_REF = "TypeRef"; public static final String VALUE = "Value"; + public static final String VIRTUAL = "Virtual"; public static final String QUERY = "Query"; public static final class JorjeNodeType {