Java Code Examples for org.aspectj.weaver.ast.HasAnnotation
The following examples show how to use
org.aspectj.weaver.ast.HasAnnotation. These examples are extracted from open source projects.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source Project: spring-analysis-note Source File: RuntimeTestWalker.java License: MIT License | 5 votes |
@Override public void visit(HasAnnotation hasAnn) { // If you thought things were bad before, now we sink to new levels of horror... ReflectionVar v = (ReflectionVar) hasAnn.getVar(); int varType = getVarType(v); if (varType == AT_THIS_VAR || varType == AT_TARGET_VAR || varType == AT_ANNOTATION_VAR) { this.testsSubtypeSensitiveVars = true; } }
Example 2
Source Project: java-technology-stack Source File: RuntimeTestWalker.java License: MIT License | 5 votes |
@Override public void visit(HasAnnotation hasAnn) { // If you thought things were bad before, now we sink to new levels of horror... ReflectionVar v = (ReflectionVar) hasAnn.getVar(); int varType = getVarType(v); if (varType == AT_THIS_VAR || varType == AT_TARGET_VAR || varType == AT_ANNOTATION_VAR) { this.testsSubtypeSensitiveVars = true; } }
Example 3
Source Project: lams Source File: RuntimeTestWalker.java License: GNU General Public License v2.0 | 5 votes |
@Override public void visit(HasAnnotation hasAnn) { // If you thought things were bad before, now we sink to new levels of horror... ReflectionVar v = (ReflectionVar) hasAnn.getVar(); int varType = getVarType(v); if (varType == AT_THIS_VAR || varType == AT_TARGET_VAR || varType == AT_ANNOTATION_VAR) { this.testsSubtypeSensitiveVars = true; } }
Example 4
Source Project: spring4-understanding Source File: RuntimeTestWalker.java License: Apache License 2.0 | 5 votes |
@Override public void visit(HasAnnotation hasAnn) { // If you thought things were bad before, now we sink to new levels of horror... ReflectionVar v = (ReflectionVar) hasAnn.getVar(); int varType = getVarType(v); if (varType == AT_THIS_VAR || varType == AT_TARGET_VAR || varType == AT_ANNOTATION_VAR) { this.testsSubtypeSensitiveVars = true; } }
Example 5
Source Project: spring-analysis-note Source File: RuntimeTestWalker.java License: MIT License | 4 votes |
@Override public void visit(HasAnnotation hasAnnotation) { }
Example 6
Source Project: java-technology-stack Source File: RuntimeTestWalker.java License: MIT License | 4 votes |
@Override public void visit(HasAnnotation hasAnnotation) { }
Example 7
Source Project: lams Source File: RuntimeTestWalker.java License: GNU General Public License v2.0 | 4 votes |
@Override public void visit(HasAnnotation hasAnnotation) { }
Example 8
Source Project: spring4-understanding Source File: RuntimeTestWalker.java License: Apache License 2.0 | 4 votes |
@Override public void visit(HasAnnotation hasAnnotation) { }