@@ -83,6 +83,9 @@ class ReflectiveClassIdentifierMethodCall extends ReflectiveClassIdentifier, Met
8383 }
8484}
8585
86+ /** DEPRECATED: Alias for `ReflectiveClassIdentifierMethodCall`. */
87+ deprecated class ReflectiveClassIdentifierMethodAccess = ReflectiveClassIdentifierMethodCall ;
88+
8689/**
8790 * Gets a `ReflectiveClassIdentifier` that we believe may represent the value of `expr`.
8891 */
@@ -317,26 +320,35 @@ class ClassMethodCall extends MethodCall {
317320 }
318321}
319322
323+ /** DEPRECATED: Alias for `ClassMethodCall`. */
324+ deprecated class ClassMethodAccess = ClassMethodCall ;
325+
320326/**
321327 * A call to `Class.getConstructors(..)` or `Class.getDeclaredConstructors(..)`.
322328 */
323- class ReflectiveConstructorsAccess extends ClassMethodCall {
324- ReflectiveConstructorsAccess ( ) {
329+ class ReflectiveConstructorsCall extends ClassMethodCall {
330+ ReflectiveConstructorsCall ( ) {
325331 this .getCallee ( ) .hasName ( "getConstructors" ) or
326332 this .getCallee ( ) .hasName ( "getDeclaredConstructors" )
327333 }
328334}
329335
336+ /** DEPRECATED: Alias for `ReflectiveConstructorsCall`. */
337+ deprecated class ReflectiveConstructorsAccess = ReflectiveConstructorsCall ;
338+
330339/**
331340 * A call to `Class.getMethods(..)` or `Class.getDeclaredMethods(..)`.
332341 */
333- class ReflectiveMethodsAccess extends ClassMethodCall {
334- ReflectiveMethodsAccess ( ) {
342+ class ReflectiveMethodsCall extends ClassMethodCall {
343+ ReflectiveMethodsCall ( ) {
335344 this .getCallee ( ) .hasName ( "getMethods" ) or
336345 this .getCallee ( ) .hasName ( "getDeclaredMethods" )
337346 }
338347}
339348
349+ /** DEPRECATED: Alias for `ReflectiveMethodsCall`. */
350+ deprecated class ReflectiveMethodsAccess = ReflectiveMethodsCall ;
351+
340352/**
341353 * A call to `Class.getMethod(..)` or `Class.getDeclaredMethod(..)`.
342354 */
@@ -366,11 +378,14 @@ class ReflectiveMethodCall extends ClassMethodCall {
366378 }
367379}
368380
381+ /** DEPRECATED: Alias for `ReflectiveMethodCall`. */
382+ deprecated class ReflectiveMethodAccess = ReflectiveMethodCall ;
383+
369384/**
370385 * A call to `Class.getAnnotation(..)`.
371386 */
372- class ReflectiveAnnotationAccess extends ClassMethodCall {
373- ReflectiveAnnotationAccess ( ) { this .getCallee ( ) .hasName ( "getAnnotation" ) }
387+ class ReflectiveAnnotationCall extends ClassMethodCall {
388+ ReflectiveAnnotationCall ( ) { this .getCallee ( ) .hasName ( "getAnnotation" ) }
374389
375390 /**
376391 * Gets a possible annotation type for this reflective annotation access.
@@ -380,11 +395,14 @@ class ReflectiveAnnotationAccess extends ClassMethodCall {
380395 }
381396}
382397
398+ /** DEPRECATED: Alias for `ReflectiveAnnotationCall`. */
399+ deprecated class ReflectiveAnnotationAccess = ReflectiveAnnotationCall ;
400+
383401/**
384402 * A call to `Class.getField(..)` that accesses a field.
385403 */
386- class ReflectiveFieldAccess extends ClassMethodCall {
387- ReflectiveFieldAccess ( ) {
404+ class ReflectiveFieldCall extends ClassMethodCall {
405+ ReflectiveFieldCall ( ) {
388406 this .getCallee ( ) .hasName ( "getField" ) or
389407 this .getCallee ( ) .hasName ( "getDeclaredField" )
390408 }
@@ -405,3 +423,6 @@ class ReflectiveFieldAccess extends ClassMethodCall {
405423 result .hasName ( this .getArgument ( 0 ) .( StringLiteral ) .getValue ( ) )
406424 }
407425}
426+
427+ /** DEPRECATED: Alias for `ReflectiveFieldCall`. */
428+ deprecated class ReflectiveFieldAccess = ReflectiveFieldCall ;
0 commit comments