Package org.aspectj.org.eclipse.jdt.core
Klasse ClasspathVariableInitializer
java.lang.Object
org.aspectj.org.eclipse.jdt.core.ClasspathVariableInitializer
Abstract base implementation of all classpath variable initializers.
Classpath variable initializers are used in conjunction with the
"org.aspectj.org.eclipse.jdt.core.classpathVariableInitializer" extension point.
Clients should subclass this class to implement a specific classpath
variable initializer. The subclass must have a public 0-argument
constructor and a concrete implementation of initialize
.
- Seit:
- 2.0
- Siehe auch:
-
Konstruktorübersicht
KonstruktorBeschreibungCreates a new classpath variable initializer. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungabstract void
initialize
(String variable) Binds a value to the workspace classpath variable with the given name, or fails silently if this cannot be done.
-
Konstruktordetails
-
ClasspathVariableInitializer
public ClasspathVariableInitializer()Creates a new classpath variable initializer.
-
-
Methodendetails
-
initialize
Binds a value to the workspace classpath variable with the given name, or fails silently if this cannot be done.A variable initializer is automatically activated whenever a variable value is needed and none has been recorded so far. The implementation of the initializer can set the corresponding variable using
JavaCore#setClasspathVariable
.- Parameter:
variable
- the name of the workspace classpath variable that requires a binding- Siehe auch:
-