@@ -61,14 +61,14 @@ class Annotation extends @annotation, Expr {
6161 * gets the enum constant used as value for that element. This includes default values in
6262 * case no explicit value is specified.
6363 */
64- EnumConstant getValueEnumConstant ( string name ) { result = getValue ( name ) .( FieldRead ) .getField ( ) }
64+ EnumConstant getEnumConstantValue ( string name ) { result = getValue ( name ) .( FieldRead ) .getField ( ) }
6565
6666 /**
6767 * If the value type of the annotation element with the specified `name` is `String`,
6868 * gets the string value used for that element. This includes default values in case no
6969 * explicit value is specified.
7070 */
71- string getValueString ( string name ) {
71+ string getStringValue ( string name ) {
7272 // Uses CompileTimeConstantExpr instead of StringLiteral because value can
7373 // be read of final variable as well
7474 result = getValue ( name ) .( CompileTimeConstantExpr ) .getStringValue ( )
@@ -79,7 +79,7 @@ class Annotation extends @annotation, Expr {
7979 * gets the int value used for that element. This includes default values in case no
8080 * explicit value is specified.
8181 */
82- int getValueInt ( string name ) {
82+ int getIntValue ( string name ) {
8383 // Uses CompileTimeConstantExpr instead of IntegerLiteral because value can
8484 // be read of final variable as well
8585 result = getValue ( name ) .( CompileTimeConstantExpr ) .getIntValue ( )
@@ -90,7 +90,7 @@ class Annotation extends @annotation, Expr {
9090 * gets the boolean value used for that element. This includes default values in case
9191 * no explicit value is specified.
9292 */
93- boolean getValueBoolean ( string name ) {
93+ boolean getBooleanValue ( string name ) {
9494 // Uses CompileTimeConstantExpr instead of BooleanLiteral because value can
9595 // be read of final variable as well
9696 result = getValue ( name ) .( CompileTimeConstantExpr ) .getBooleanValue ( )
@@ -101,7 +101,7 @@ class Annotation extends @annotation, Expr {
101101 * gets the referenced type used as value for that element. This includes default values
102102 * in case no explicit value is specified.
103103 */
104- Type getValueClass ( string name ) { result = getValue ( name ) .( TypeLiteral ) .getReferencedType ( ) }
104+ Type getTypeValue ( string name ) { result = getValue ( name ) .( TypeLiteral ) .getReferencedType ( ) }
105105
106106 /** Gets the element being annotated. */
107107 Element getTarget ( ) { result = this .getAnnotatedElement ( ) }
0 commit comments