Package org.eclipse.jdt.core
Interface IJavaModelMarker
public interface IJavaModelMarker
Markers used by the Java model.
This interface declares constants only.
- Restriction:
- This interface is not intended to be implemented by clients.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
Id marker attribute (value"arguments"
).static final String
Build path problem marker type (value"org.eclipse.jdt.core.buildpath_problem"
).static final String
ID category marker attribute (value"categoryId"
)static final String
Classpath file format marker attribute (value"classpathFileFormat"
).static final String
Cycle detected marker attribute (value"cycleDetected"
).static final String
Flags marker attribute (value"flags"
).static final String
ID marker attribute (value"id"
).static final String
Java model problem marker type (value"org.eclipse.jdt.core.problem"
).static final String
Output overlapping another source attribute (value"outputOverlappingSource"
).static final String
Java model task marker type (value"org.eclipse.jdt.core.task"
).static final String
Java model transient problem marker type (value"org.eclipse.jdt.core.transient_problem"
).
-
Field Details
-
JAVA_MODEL_PROBLEM_MARKER
Java model problem marker type (value"org.eclipse.jdt.core.problem"
). This can be used to recognize those markers in the workspace that flag problems detected by the Java tooling during compilation.- See Also:
-
TRANSIENT_PROBLEM
Java model transient problem marker type (value"org.eclipse.jdt.core.transient_problem"
). This can be used to recognize those markers in the workspace that flag transient problems detected by the Java tooling (such as a problem detected by the outliner, or a problem detected during a code completion). Since 1.0, transient problems are reported asIProblem
through various API. Only the evaluation API is still producing markers for transient problems. -
TASK_MARKER
Java model task marker type (value"org.eclipse.jdt.core.task"
). This can be used to recognize task markers in the workspace that correspond to tasks specified in Java source comments and detected during compilation (for example, 'TO-DO: ...'). Tasks are identified by a task tag, which can be customized throughJavaCore
option"org.eclipse.jdt.core.compiler.taskTag"
.- Since:
- 2.1
- See Also:
-
ARGUMENTS
Id marker attribute (value"arguments"
). Arguments are concatenated into one String, prefixed with an argument count (followed with colon separator) and separated with '#' characters. For example: { "foo", "bar" } is encoded as "2:foo#bar", { } is encoded as "0:".Empty argument is encoded as three spaces (" ").
If the argument contains a '#', the character is doubled.
{"foo#test", "bar" } is encoded as "2:foo##test#bar"- Since:
- 2.0
- See Also:
-
ID
ID marker attribute (value"id"
).- See Also:
-
CATEGORY_ID
ID category marker attribute (value"categoryId"
)- Since:
- 3.2
- See Also:
-
FLAGS
Flags marker attribute (value"flags"
). Reserved for future use.- See Also:
-
CYCLE_DETECTED
Cycle detected marker attribute (value"cycleDetected"
). Used only on buildpath problem markers. The value of this attribute is either "true" or "false".- See Also:
-
BUILDPATH_PROBLEM_MARKER
Build path problem marker type (value"org.eclipse.jdt.core.buildpath_problem"
). This can be used to recognize those markers in the workspace that flag problems detected by the Java tooling during classpath setting.- See Also:
-
CLASSPATH_FILE_FORMAT
Classpath file format marker attribute (value"classpathFileFormat"
). Used only on buildpath problem markers. The value of this attribute is either "true" or "false".- Since:
- 2.0
- See Also:
-
OUTPUT_OVERLAPPING_SOURCE
Output overlapping another source attribute (value"outputOverlappingSource"
). Used only on buildpath problem markers. The value of this attribute is either "true" or "false".- Since:
- 3.6.4
- See Also:
-