mirror of
https://github.com/github/codeql.git
synced 2026-04-25 08:45:14 +02:00
Merge pull request #14494 from atorralba/atorralba/remove-library
Java/C/C#: Remove library annotations
This commit is contained in:
@@ -398,7 +398,7 @@ class MemberConstantAccess extends FieldAccess {
|
||||
* An internal helper class to share logic between `PropertyAccess` and
|
||||
* `PropertyCall`.
|
||||
*/
|
||||
library class PropertyAccessExpr extends Expr, @property_access_expr {
|
||||
class PropertyAccessExpr extends Expr, @property_access_expr {
|
||||
/** Gets the target of this property access. */
|
||||
Property getProperty() { expr_access(this, result) }
|
||||
|
||||
@@ -540,7 +540,7 @@ class ElementWrite extends ElementAccess, AssignableWrite { }
|
||||
* An internal helper class to share logic between `IndexerAccess` and
|
||||
* `IndexerCall`.
|
||||
*/
|
||||
library class IndexerAccessExpr extends Expr, @indexer_access_expr {
|
||||
class IndexerAccessExpr extends Expr, @indexer_access_expr {
|
||||
/** Gets the target of this indexer access. */
|
||||
Indexer getIndexer() { expr_access(this, result) }
|
||||
|
||||
@@ -628,7 +628,7 @@ class VirtualIndexerAccess extends IndexerAccess {
|
||||
* An internal helper class to share logic between `EventAccess` and
|
||||
* `EventCall`.
|
||||
*/
|
||||
library class EventAccessExpr extends Expr, @event_access_expr {
|
||||
class EventAccessExpr extends Expr, @event_access_expr {
|
||||
/** Gets the target of this event access. */
|
||||
Event getEvent() { expr_access(this, result) }
|
||||
|
||||
|
||||
@@ -654,7 +654,7 @@ class DisposeMethod extends Method {
|
||||
}
|
||||
|
||||
/** A method with the signature `void Dispose(bool)`. */
|
||||
library class DisposeBoolMethod extends Method {
|
||||
class DisposeBoolMethod extends Method {
|
||||
DisposeBoolMethod() {
|
||||
this.hasName("Dispose") and
|
||||
this.getReturnType() instanceof VoidType and
|
||||
|
||||
Reference in New Issue
Block a user