generated from typetools/templatefora-checker
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9812b94
commit 2ce9a92
Showing
15 changed files
with
314 additions
and
270 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 11 additions & 9 deletions
20
...a/edu/ucr/cs/riple/taint/ucrtainting/serialization/location/ClassDeclarationLocation.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,20 @@ | ||
package edu.ucr.cs.riple.taint.ucrtainting.serialization.location; | ||
|
||
import com.sun.tools.javac.code.Symbol; | ||
import com.sun.tools.javac.tree.JCTree; | ||
import com.sun.tools.javac.code.Type; | ||
import edu.ucr.cs.riple.taint.ucrtainting.serialization.visitors.LocationVisitor; | ||
|
||
public class ClassDeclarationLocation extends AbstractSymbolLocation{ | ||
public class ClassDeclarationLocation extends AbstractSymbolLocation { | ||
|
||
public final Type.ClassType toChange; | ||
|
||
public ClassDeclarationLocation(LocationKind kind, Symbol target, JCTree tree) { | ||
super(kind, target, tree); | ||
} | ||
public ClassDeclarationLocation(Symbol target, Type.ClassType toChange) { | ||
super(LocationKind.CLASS_DECLARATION, target); | ||
this.toChange = toChange; | ||
} | ||
|
||
@Override | ||
public <R, P> R accept(LocationVisitor<R, P> v, P p) { | ||
return null; | ||
} | ||
@Override | ||
public <R, P> R accept(LocationVisitor<R, P> v, P p) { | ||
return v.visitClassDeclaration(this, p); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.