system/src/sc/lang/java/BodyTypeDeclaration.java
public boolean isStaticType() {
      // Don't inherit the JavaSemanticNode's definition.  For a type, we're static only if the static keyword
      // is set on that type, or an enum type or constant
      return hasModifier("static") || isEnumConstant() || isEnumeratedType();
   }
/**
    * Returns true if this is a static type - i.e. the class/object has the static keyword (or we are modifying a static type).
    * This is different than "isStatic()" in a subtle way.  That is used for an expression to see if it is in a static context.
    * These are not the same for example when you have a static object but are initializing an instance variable of that object.  It should
    * see it as part of an instance context but that object is still considered a static type for its parent
    */
Returns true if this is a static type - i.e. the class/object has the static keyword (or we are modifying a static type).
This is different than "isStatic()" in a subtle way.  That is used for an expression to see if it is in a static context.
These are not the same for example when you have a static object but are initializing an instance variable of that object.  It should
see it as part of an instance context but that object is still considered a static type for its parent
Returns true if this is a static type - i . e . the class / object has the static keyword ( or we are modifying a static type ) . This is different than " isStatic () " in a subtle way . That is used for an expression to see if it is in a static context . These are not the same for example when you have a static object but are initializing an instance variable of that object . It should see it as part of an instance context but that object is still considered a static type for its parent
public boolean isStaticType() {
      return hasModifier("static") || isEnumConstant() || isEnumeratedType();
   }
public boolean isStaticType ( ) { return hasModifier ( "static" ) || isEnumConstant ( ) || isEnumeratedType ( ) ; }
Returns true if this is a static type - i.e.
Returns true if this is a static type - i . e .
// Don't inherit the JavaSemanticNode's definition.  For a type, we're static only if the static keyword // is set on that type, or an enum type or constant