public final class NamespaceAttributeNotAllowedProblem extends SyntaxProblem
Modifier and Type | Field and Description |
---|---|
static String |
DESCRIPTION |
static int |
errorCode |
tokenText
UNKNOWN
Constructor and Description |
---|
NamespaceAttributeNotAllowedProblem(ASToken offendingNamespaceNameToken)
Create problem for cases like:
package foo
{
ns1 private class T {}
}
|
NamespaceAttributeNotAllowedProblem(INamespaceDecorationNode site) |
getAbsoluteEnd, getAbsoluteStart, getColumn, getEnd, getEndColumn, getEndLine, getID, getLine, getSourcePath, getStart, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getID
getAbsoluteEnd, getAbsoluteStart, getColumn, getEnd, getEndColumn, getEndLine, getLine, getSourcePath, getStart
public static final String DESCRIPTION
public static final int errorCode
public NamespaceAttributeNotAllowedProblem(INamespaceDecorationNode site)
public NamespaceAttributeNotAllowedProblem(ASToken offendingNamespaceNameToken)
package foo { ns1 private class T {} }
offendingNamespaceNameToken
- The unexpected namespace name token.Copyright © 2016 The Apache Software Foundation. All rights reserved.