Remove library annotations

This commit is contained in:
Tony Torralba
2023-10-13 12:46:56 +02:00
parent 1297acf5b1
commit 0cea3f8531
22 changed files with 35 additions and 37 deletions

View File

@@ -140,7 +140,7 @@ class NamespaceClass extends RefType {
* This represents the set of classes and interfaces for which we will determine liveness. Each
* `SourceClassOrInterfacce` will either be a `LiveClass` or `DeadClass`.
*/
library class SourceClassOrInterface extends ClassOrInterface {
class SourceClassOrInterface extends ClassOrInterface {
SourceClassOrInterface() { this.fromSource() }
}

View File

@@ -9,7 +9,7 @@ import semmle.code.java.frameworks.jackson.JacksonSerializability
*
* This defines the set of fields for which we will determine liveness.
*/
library class SourceField extends Field {
class SourceField extends Field {
SourceField() { this.fromSource() }
}

View File

@@ -94,7 +94,7 @@ abstract class ReflectivelyConstructedClass extends EntryPoint, Class {
/**
* Classes that are deserialized by Jackson are reflectively constructed.
*/
library class JacksonReflectivelyConstructedClass extends ReflectivelyConstructedClass instanceof JacksonDeserializableType
class JacksonReflectivelyConstructedClass extends ReflectivelyConstructedClass instanceof JacksonDeserializableType
{
override Callable getALiveCallable() {
// Constructors may be called by Jackson, if they are a no-arg, they have a suitable annotation,