|
Lombok - v0.11.2 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectlombok.eclipse.Eclipse
public class Eclipse
| Field Summary | |
|---|---|
static int |
ECLIPSE_DO_NOT_TOUCH_FLAG
Eclipse's Parser class is instrumented to not attempt to fill in the body of any method or initializer or field initialization if this flag is set. |
| Method Summary | |
|---|---|
static Object |
calculateValue(org.eclipse.jdt.internal.compiler.ast.Expression e)
Returns the actual value of the given Literal or Literal-like node. |
static org.eclipse.jdt.internal.compiler.ast.Annotation[] |
findAnnotations(org.eclipse.jdt.internal.compiler.ast.FieldDeclaration field,
Pattern namePattern)
Searches the given field node for annotations and returns each one that matches the provided regular expression pattern. |
static char[][] |
fromQualifiedName(String typeName)
|
static boolean |
hasClinit(org.eclipse.jdt.internal.compiler.ast.TypeDeclaration parent)
|
static boolean |
isPrimitive(org.eclipse.jdt.internal.compiler.ast.TypeReference ref)
Checks if the given type reference represents a primitive type. |
static boolean |
nameEquals(char[][] typeName,
String string)
Checks if an eclipse-style array-of-array-of-characters to represent a fully qualified name ('foo.bar.baz'), matches a plain string containing the same fully qualified name with dots in the string. |
static long |
pos(org.eclipse.jdt.internal.compiler.ast.ASTNode node)
|
static long[] |
poss(org.eclipse.jdt.internal.compiler.ast.ASTNode node,
int repeat)
|
static String |
toQualifiedName(char[][] typeName)
For 'speed' reasons, Eclipse works a lot with char arrays. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int ECLIPSE_DO_NOT_TOUCH_FLAG
| Method Detail |
|---|
public static String toQualifiedName(char[][] typeName)
public static char[][] fromQualifiedName(String typeName)
public static long pos(org.eclipse.jdt.internal.compiler.ast.ASTNode node)
public static long[] poss(org.eclipse.jdt.internal.compiler.ast.ASTNode node,
int repeat)
public static boolean nameEquals(char[][] typeName,
String string)
public static boolean hasClinit(org.eclipse.jdt.internal.compiler.ast.TypeDeclaration parent)
public static org.eclipse.jdt.internal.compiler.ast.Annotation[] findAnnotations(org.eclipse.jdt.internal.compiler.ast.FieldDeclaration field,
Pattern namePattern)
public static boolean isPrimitive(org.eclipse.jdt.internal.compiler.ast.TypeReference ref)
public static Object calculateValue(org.eclipse.jdt.internal.compiler.ast.Expression e)
|
Lombok - v0.11.2 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||