io.sarl.lang.jvmmodel
Interface IDefaultVisibilityProvider
All Known Implementing Classes:
DefaultVisibilityProvider
interface IDefaultVisibilityProvider
Provide the default visibility modifier for elements.
Maven Group Identifier:
io.sarl.lang
Maven Artifact Identifier:
compiler
Nested Type Summary
Modifier and type Type and description
interface IDefaultVisibilityProvider.Tester
Test the types of the elements.
Action Summary
Modifier and type Action and description
static org.eclipse.xtext.common.types.JvmVisibility getActionDefaultVisibilityIn(Tester)
Replies the default visibility of an action when inside the given container.
static org.eclipse.xtext.common.types.JvmVisibility getActionDefaultVisibilityIn(Class<T>)
Replies the default visibility of an action when inside the given container.
static org.eclipse.xtext.common.types.JvmVisibility getActionDefaultVisibilityIn(EObject)
Replies the default visibility of an action when inside the given container.
static org.eclipse.xtext.common.types.JvmVisibility getAnnotationTypeDefaultVisibilityIn(Tester)
Replies the default visibility of an annotation type when inside the given container.
static org.eclipse.xtext.common.types.JvmVisibility getAnnotationTypeDefaultVisibilityIn(Class<T>)
Replies the default visibility of an annotation type when inside the given container.
static org.eclipse.xtext.common.types.JvmVisibility getAnnotationTypeDefaultVisibilityIn(EObject)
Replies the default visibility of an annotation type when inside the given container.
static org.eclipse.xtext.common.types.JvmVisibility getClassDefaultVisibilityIn(Tester)
Replies the default visibility of a class when inside the given container.
static org.eclipse.xtext.common.types.JvmVisibility getClassDefaultVisibilityIn(Class<T>)
Replies the default visibility of a class when inside the given container.
static org.eclipse.xtext.common.types.JvmVisibility getClassDefaultVisibilityIn(EObject)
Replies the default visibility of a class when inside the given container.
abstract org.eclipse.xtext.common.types.JvmVisibility getDefaultJvmVisibility(EObject)
Replies the default visibility modifier of the given element.
abstract org.eclipse.xtext.common.types.JvmVisibility getDefaultJvmVisibility(EObject,EClass)
Replies the default visibility modifier for the given element when it is inside the given container.
static org.eclipse.xtext.common.types.JvmVisibility getEnumerationDefaultVisibilityIn(Tester)
Replies the default visibility of an enumeration when inside the given container.
static org.eclipse.xtext.common.types.JvmVisibility getEnumerationDefaultVisibilityIn(Class<T>)
Replies the default visibility of an enumeration when inside the given container.
static org.eclipse.xtext.common.types.JvmVisibility getEnumerationDefaultVisibilityIn(EObject)
Replies the default visibility of an enumeration when inside the given container.
static org.eclipse.xtext.common.types.JvmVisibility getFieldDefaultVisibilityIn(Tester)
Replies the default visibility of a field when inside the given container.
static org.eclipse.xtext.common.types.JvmVisibility getFieldDefaultVisibilityIn(Class<T>)
Replies the default visibility of a field when inside the given container.
static org.eclipse.xtext.common.types.JvmVisibility getFieldDefaultVisibilityIn(EObject)
Replies the default visibility of a field when inside the given container.
static org.eclipse.xtext.common.types.JvmVisibility getInterfaceDefaultVisibilityIn(Tester)
Replies the default visibility of an interface when inside the given container.
static org.eclipse.xtext.common.types.JvmVisibility getInterfaceDefaultVisibilityIn(Class<T>)
Replies the default visibility of an interface when inside the given container.
static org.eclipse.xtext.common.types.JvmVisibility getInterfaceDefaultVisibilityIn(EObject)
Replies the default visibility of an interface when inside the given container.
default boolean isDefaultVisibility(EObject,JvmVisibility)
Replies if the given visiblity is the default visibility for the given element.
Action Details
getActionDefaultVisibilityIn(Tester)
def getActionDefaultVisibilityIn(Tester) : org.eclipse.xtext.common.types.JvmVisibility
Replies the default visibility of an action when inside the given container.
Parameters:
container - the container.
Returns:
the default visibility.
Since:
0.13
getActionDefaultVisibilityIn(Class<T>)
def getActionDefaultVisibilityIn(Class<T>) : org.eclipse.xtext.common.types.JvmVisibility
Replies the default visibility of an action when inside the given container.
Parameters:
container - the container.
Returns:
the default visibility.
Since:
0.13
getActionDefaultVisibilityIn(EObject)
def getActionDefaultVisibilityIn(EObject) : org.eclipse.xtext.common.types.JvmVisibility
Replies the default visibility of an action when inside the given container.
Parameters:
container - the container.
Returns:
the default visibility.
Since:
0.6
getAnnotationTypeDefaultVisibilityIn(Tester)
def getAnnotationTypeDefaultVisibilityIn(Tester) : org.eclipse.xtext.common.types.JvmVisibility
Replies the default visibility of an annotation type when inside the given container.
Parameters:
container - the container.
Returns:
the default visibility.
Since:
0.13
getAnnotationTypeDefaultVisibilityIn(Class<T>)
def getAnnotationTypeDefaultVisibilityIn(Class<T>) : org.eclipse.xtext.common.types.JvmVisibility
Replies the default visibility of an annotation type when inside the given container.
Parameters:
container - the container.
Returns:
the default visibility.
Since:
0.13
getAnnotationTypeDefaultVisibilityIn(EObject)
def getAnnotationTypeDefaultVisibilityIn(EObject) : org.eclipse.xtext.common.types.JvmVisibility
Replies the default visibility of an annotation type when inside the given container.
Parameters:
container - the container.
Returns:
the default visibility.
Since:
0.6
getClassDefaultVisibilityIn(Tester)
def getClassDefaultVisibilityIn(Tester) : org.eclipse.xtext.common.types.JvmVisibility
Replies the default visibility of a class when inside the given container.
Parameters:
container - the container.
Returns:
the default visibility.
Since:
0.13
getClassDefaultVisibilityIn(Class<T>)
def getClassDefaultVisibilityIn(Class<T>) : org.eclipse.xtext.common.types.JvmVisibility
Replies the default visibility of a class when inside the given container.
Parameters:
container - the container.
Returns:
the default visibility.
Since:
0.13
getClassDefaultVisibilityIn(EObject)
def getClassDefaultVisibilityIn(EObject) : org.eclipse.xtext.common.types.JvmVisibility
Replies the default visibility of a class when inside the given container.
Parameters:
container - the container. If it is null, the root type is assumed.
Returns:
the default visibility.
Since:
0.6
getDefaultJvmVisibility(EObject)
def getDefaultJvmVisibility(EObject) : org.eclipse.xtext.common.types.JvmVisibility
Replies the default visibility modifier of the given element.
Parameters:
element - the element.
Returns:
the default visibility.
getDefaultJvmVisibility(EObject,EClass)
def getDefaultJvmVisibility(EObject,EClass) : org.eclipse.xtext.common.types.JvmVisibility
Replies the default visibility modifier for the given element when it is inside the given container.
Parameters:
container - the container.
element - the element type.
Returns:
the default visibility.
Since:
0.6
getEnumerationDefaultVisibilityIn(Tester)
def getEnumerationDefaultVisibilityIn(Tester) : org.eclipse.xtext.common.types.JvmVisibility
Replies the default visibility of an enumeration when inside the given container.
Parameters:
container - the container.
Returns:
the default visibility.
Since:
0.13
getEnumerationDefaultVisibilityIn(Class<T>)
def getEnumerationDefaultVisibilityIn(Class<T>) : org.eclipse.xtext.common.types.JvmVisibility
Replies the default visibility of an enumeration when inside the given container.
Parameters:
container - the container.
Returns:
the default visibility.
Since:
0.13
getEnumerationDefaultVisibilityIn(EObject)
def getEnumerationDefaultVisibilityIn(EObject) : org.eclipse.xtext.common.types.JvmVisibility
Replies the default visibility of an enumeration when inside the given container.
Parameters:
container - the container.
Returns:
the default visibility.
Since:
0.6
getFieldDefaultVisibilityIn(Tester)
def getFieldDefaultVisibilityIn(Tester) : org.eclipse.xtext.common.types.JvmVisibility
Replies the default visibility of a field when inside the given container.
Parameters:
container - the container.
Returns:
the default visibility.
Since:
0.13
getFieldDefaultVisibilityIn(Class<T>)
def getFieldDefaultVisibilityIn(Class<T>) : org.eclipse.xtext.common.types.JvmVisibility
Replies the default visibility of a field when inside the given container.
Parameters:
container - the container.
Returns:
the default visibility.
Since:
0.13
getFieldDefaultVisibilityIn(EObject)
def getFieldDefaultVisibilityIn(EObject) : org.eclipse.xtext.common.types.JvmVisibility
Replies the default visibility of a field when inside the given container.
Parameters:
container - the container.
Returns:
the default visibility.
Since:
0.6
getInterfaceDefaultVisibilityIn(Tester)
def getInterfaceDefaultVisibilityIn(Tester) : org.eclipse.xtext.common.types.JvmVisibility
Replies the default visibility of an interface when inside the given container.
Parameters:
container - the container.
Returns:
the default visibility.
Since:
0.13
getInterfaceDefaultVisibilityIn(Class<T>)
def getInterfaceDefaultVisibilityIn(Class<T>) : org.eclipse.xtext.common.types.JvmVisibility
Replies the default visibility of an interface when inside the given container.
Parameters:
container - the container.
Returns:
the default visibility.
Since:
0.13
getInterfaceDefaultVisibilityIn(EObject)
def getInterfaceDefaultVisibilityIn(EObject) : org.eclipse.xtext.common.types.JvmVisibility
Replies the default visibility of an interface when inside the given container.
Parameters:
container - the container.
Returns:
the default visibility.
Since:
0.6
isDefaultVisibility(EObject,JvmVisibility)
def isDefaultVisibility(EObject,JvmVisibility) : boolean
Replies if the given visiblity is the default visibility for the given element.
Parameters:
element - the element
visibility - the visibility to test.
Returns:
true if the given visibility is the default one.