public class PsiAnnotationUtils extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static boolean |
getBooleanAttribute(com.intellij.psi.PsiAnnotation annotation,
java.lang.String field,
boolean defaultValue) |
static int |
getIntAttribute(com.intellij.psi.PsiAnnotation annotation,
java.lang.String field,
int defaultValue) |
static java.lang.String |
getStringAttribute(com.intellij.psi.PsiAnnotation annotation,
java.lang.String field,
java.lang.String defaultValue) |
@NotNull public static java.lang.String getStringAttribute(@Nullable com.intellij.psi.PsiAnnotation annotation, @NotNull java.lang.String field, @NotNull java.lang.String defaultValue)
public static boolean getBooleanAttribute(@Nullable com.intellij.psi.PsiAnnotation annotation, @NotNull java.lang.String field, boolean defaultValue)
public static int getIntAttribute(@Nullable com.intellij.psi.PsiAnnotation annotation, @NotNull java.lang.String field, int defaultValue)