Package | Description |
---|---|
org.eclipse.jdt.core |
The Java model is the set of classes that model the
objects associated with creating, editing, and building a Java program.
|
org.eclipse.jdt.ui |
Application programming interfaces for interaction
with the Eclipse Java User Interface.
|
Modifier and Type | Method and Description |
---|---|
IInitializer |
IType.createInitializer(String contents,
IJavaElement sibling,
IProgressMonitor monitor)
Creates and returns a static initializer in this type with the
given contents.
|
IInitializer |
IType.getInitializer(int occurrenceCount)
Returns the initializer with the specified position relative to
the order they are defined in the source.
|
IInitializer[] |
IType.getInitializers()
Returns the initializers declared by this type.
|
Modifier and Type | Method and Description |
---|---|
static void |
JavaElementLabels.getInitializerLabel(IInitializer initializer,
long flags,
StringBuffer buf)
Appends the label for a initializer to a
StringBuffer . |
static void |
JavaElementLabels.getInitializerLabel(IInitializer initializer,
long flags,
StyledString result)
Appends the label for a initializer to a
StyledString . |
Copyright (c) 2000, 2015 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.