issue_id int64 2.04k 425k | title stringlengths 9 251 | body stringlengths 4 32.8k ⌀ | status stringclasses 6
values | after_fix_sha stringlengths 7 7 | project_name stringclasses 6
values | repo_url stringclasses 6
values | repo_name stringclasses 6
values | language stringclasses 1
value | issue_url null | before_fix_sha null | pull_url null | commit_datetime timestamp[us, tz=UTC] | report_datetime timestamp[us, tz=UTC] | updated_file stringlengths 23 187 | chunk_content stringlengths 1 22k |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
116,755 | Bug 116755 PointcutParser is not configurable | I'm testing the reflection and weaver tools APIs. When I using following code: PointcutParser parse = new PointcutParser(); String expr = "call(public * main.hello(..)"; PointcutExpression pex = parse.parsePointcutExpression(expr); Whenever I use a full qualified class name in pointcut expression, an exception is throw... | resolved fixed | 522911e | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-19T17:08:48Z | 2005-11-17T01:13:20Z | tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java | import java.io.IOException;
import java.io.PrintWriter;
import java.util.Iterator;
import java.util.List;
import junit.framework.Test;
import org.aspectj.apache.bcel.classfile.JavaClass;
import org.aspectj.apache.bcel.classfile.Method;
import org.aspectj.apache.bcel.classfile.Signature;
import org.aspectj.apache.bcel.u... |
116,755 | Bug 116755 PointcutParser is not configurable | I'm testing the reflection and weaver tools APIs. When I using following code: PointcutParser parse = new PointcutParser(); String expr = "call(public * main.hello(..)"; PointcutExpression pex = parse.parsePointcutExpression(expr); Whenever I use a full qualified class name in pointcut expression, an exception is throw... | resolved fixed | 522911e | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-19T17:08:48Z | 2005-11-17T01:13:20Z | tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java | */
public void testGenericAspects_pr115237() { runTest("aspectOf and generic aspects");}
public void testClassFormatError_pr114436() { runTest("ClassFormatError binary weaving perthis");}
public void testParserException_pr115788() { runTest("parser exception");}
public void testPossibleStaticImports_pr113066... |
116,755 | Bug 116755 PointcutParser is not configurable | I'm testing the reflection and weaver tools APIs. When I using following code: PointcutParser parse = new PointcutParser(); String expr = "call(public * main.hello(..)"; PointcutExpression pex = parse.parsePointcutExpression(expr); Whenever I use a full qualified class name in pointcut expression, an exception is throw... | resolved fixed | 522911e | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-19T17:08:48Z | 2005-11-17T01:13:20Z | tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java | public void testIncompatibleClassChangeError_pr113630_1() {runTest("IncompatibleClassChangeError - errorscenario");}
public void testIncompatibleClassChangeError_pr113630_2() {runTest("IncompatibleClassChangeError - workingscenario");}
public void testFieldGetProblemWithGenericField_pr113861() {runTest("field-ge... |
116,755 | Bug 116755 PointcutParser is not configurable | I'm testing the reflection and weaver tools APIs. When I using following code: PointcutParser parse = new PointcutParser(); String expr = "call(public * main.hello(..)"; PointcutExpression pex = parse.parsePointcutExpression(expr); Whenever I use a full qualified class name in pointcut expression, an exception is throw... | resolved fixed | 522911e | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-19T17:08:48Z | 2005-11-17T01:13:20Z | tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java | }
public void test_ambiguousBindingsDetection() {
runTest("Various kinds of ambiguous bindings");
}
public void test_ambiguousArgsDetection() {
runTest("ambiguous args");
}
public void testIncorrectExceptionTableWhenBreakInMethod_pr78021() {
runTest("Injecting exception into while loop with ... |
116,755 | Bug 116755 PointcutParser is not configurable | I'm testing the reflection and weaver tools APIs. When I using following code: PointcutParser parse = new PointcutParser(); String expr = "call(public * main.hello(..)"; PointcutExpression pex = parse.parsePointcutExpression(expr); Whenever I use a full qualified class name in pointcut expression, an exception is throw... | resolved fixed | 522911e | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-19T17:08:48Z | 2005-11-17T01:13:20Z | tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java | }
public void testCanOverrideProtectedMethodsViaITDandDecp_pr83303() {
runTest("compiler error when mixing inheritance, overriding and polymorphism");
}
public void testPerTypeWithin_pr106554() {runTest("Problem in staticinitialization with pertypewithin aspect");}
public void testPerTypeWithinMisse... |
116,755 | Bug 116755 PointcutParser is not configurable | I'm testing the reflection and weaver tools APIs. When I using following code: PointcutParser parse = new PointcutParser(); String expr = "call(public * main.hello(..)"; PointcutExpression pex = parse.parsePointcutExpression(expr); Whenever I use a full qualified class name in pointcut expression, an exception is throw... | resolved fixed | 522911e | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-19T17:08:48Z | 2005-11-17T01:13:20Z | tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java | pw.flush();
String tree = baos.toString();
assertTrue("Expected 'Red [enumvalue]' somewhere in here:"+tree,tree.indexOf("Red [enumvalue]")!=-1);
}
}
public void npeOnTypeNotFound() {
runTest("structure model npe on type not found");
}
public void testNoRuntimeExceptionSoftening() {
runTes... |
116,755 | Bug 116755 PointcutParser is not configurable | I'm testing the reflection and weaver tools APIs. When I using following code: PointcutParser parse = new PointcutParser(); String expr = "call(public * main.hello(..)"; PointcutExpression pex = parse.parsePointcutExpression(expr); Whenever I use a full qualified class name in pointcut expression, an exception is throw... | resolved fixed | 522911e | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-19T17:08:48Z | 2005-11-17T01:13:20Z | tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java | public void testIntroSample() {
runTest("introduction sample");
}
public void testPTWInterface() {
runTest("pertypewithin({interface}) illegal field modifier");
}
public void testEnumCalledEnumEtc() {
runTest("enum called Enum, annotation called Annotation, etc");
}
public void testInterna... |
116,755 | Bug 116755 PointcutParser is not configurable | I'm testing the reflection and weaver tools APIs. When I using following code: PointcutParser parse = new PointcutParser(); String expr = "call(public * main.hello(..)"; PointcutExpression pex = parse.parsePointcutExpression(expr); Whenever I use a full qualified class name in pointcut expression, an exception is throw... | resolved fixed | 522911e | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-19T17:08:48Z | 2005-11-17T01:13:20Z | tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java | public void testGenerics_pr99089() {runTest("ArrayIndexOutOfBoundsException - Generics in privileged aspects");}
public void testGenerics_pr95993() {runTest("NPE at ClassScope.java:660 when compiling generic class");}
public void testItdGenerics_pr99228() {runTest("ITD of a field into a generic class");}
publ... |
116,755 | Bug 116755 PointcutParser is not configurable | I'm testing the reflection and weaver tools APIs. When I using following code: PointcutParser parse = new PointcutParser(); String expr = "call(public * main.hello(..)"; PointcutExpression pex = parse.parsePointcutExpression(expr); Whenever I use a full qualified class name in pointcut expression, an exception is throw... | resolved fixed | 522911e | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-19T17:08:48Z | 2005-11-17T01:13:20Z | tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java | }
public void testIntermediateAnnotationMatching() {
runTest("intermediate annotation matching");
}
public void testBadRuntimeTestGeneration() {
runTest("target(@Foo *)");
}
public void testErrorMessageOnITDWithTypePatterns() {
runTest("clear error message on itd with type pattern");
}
... |
116,755 | Bug 116755 PointcutParser is not configurable | I'm testing the reflection and weaver tools APIs. When I using following code: PointcutParser parse = new PointcutParser(); String expr = "call(public * main.hello(..)"; PointcutExpression pex = parse.parsePointcutExpression(expr); Whenever I use a full qualified class name in pointcut expression, an exception is throw... | resolved fixed | 522911e | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-19T17:08:48Z | 2005-11-17T01:13:20Z | tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java | public void testPointcutOverriding() {
runTest("overriding final pointcut from super-aspect");
}
public void testAtSuppressWarnings() {
runTest("@SuppressWarnings should suppress");
}
public void testDEOWWithBindingPointcut() {
runTest("declare warning : foo(str) : ...;");
}
public void te... |
116,755 | Bug 116755 PointcutParser is not configurable | I'm testing the reflection and weaver tools APIs. When I using following code: PointcutParser parse = new PointcutParser(); String expr = "call(public * main.hello(..)"; PointcutExpression pex = parse.parsePointcutExpression(expr); Whenever I use a full qualified class name in pointcut expression, an exception is throw... | resolved fixed | 522911e | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-19T17:08:48Z | 2005-11-17T01:13:20Z | tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java | public void testPrivilegedMethodAccessorsGetRightExceptions_pr82989() {
runTest("Compiler error due to a wrong exception check in try blocks");
}
public void testAnonymousInnerClassWithMethodReturningTypeParameter_pr107898() {
runTest("anonymous inner class with method returning type parameter");
}
... |
116,755 | Bug 116755 PointcutParser is not configurable | I'm testing the reflection and weaver tools APIs. When I using following code: PointcutParser parse = new PointcutParser(); String expr = "call(public * main.hello(..)"; PointcutExpression pex = parse.parsePointcutExpression(expr); Whenever I use a full qualified class name in pointcut expression, an exception is throw... | resolved fixed | 522911e | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-19T17:08:48Z | 2005-11-17T01:13:20Z | tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java | runTest("@AfterThrowing with no formal specified");
}
public void testParameterizedVarArgsMatch() {
runTest("varargs with type variable");
}
public void testFieldAccessInsideITDM() {
runTest("itd field access inside itd method");
}
public void testTypeVarWithTypeVarBound() {
runTest("type var... |
116,755 | Bug 116755 PointcutParser is not configurable | I'm testing the reflection and weaver tools APIs. When I using following code: PointcutParser parse = new PointcutParser(); String expr = "call(public * main.hello(..)"; PointcutExpression pex = parse.parsePointcutExpression(expr); Whenever I use a full qualified class name in pointcut expression, an exception is throw... | resolved fixed | 522911e | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-19T17:08:48Z | 2005-11-17T01:13:20Z | tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java | public void testInlinedFieldAccessInProceedCall() {
runTest("inlined field access in proceed call");
}
public void testVisibiltyInSignatureMatchingWithOverridesPart1() {
runTest("visibility in signature matching with overrides - 1");
}
public void testVisibiltyInSignatureMatchingWithOverridesPart2() {
... |
116,755 | Bug 116755 PointcutParser is not configurable | I'm testing the reflection and weaver tools APIs. When I using following code: PointcutParser parse = new PointcutParser(); String expr = "call(public * main.hello(..)"; PointcutExpression pex = parse.parsePointcutExpression(expr); Whenever I use a full qualified class name in pointcut expression, an exception is throw... | resolved fixed | 522911e | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-19T17:08:48Z | 2005-11-17T01:13:20Z | tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java | public void testOverrideAndCovarianceWithDecPRuntime() {
runTest("override and covariance with decp - runtime");
}
public void testOverrideAndCovarianceWithDecPRuntimeMultiFiles() {
runTest("override and covariance with decp - runtime separate files");
}
public void testOverrideAndCovarianceWithDecPRun... |
116,755 | Bug 116755 PointcutParser is not configurable | I'm testing the reflection and weaver tools APIs. When I using following code: PointcutParser parse = new PointcutParser(); String expr = "call(public * main.hello(..)"; PointcutExpression pex = parse.parsePointcutExpression(expr); Whenever I use a full qualified class name in pointcut expression, an exception is throw... | resolved fixed | 522911e | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-19T17:08:48Z | 2005-11-17T01:13:20Z | tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java | public void testPrivatePointcutOverriding() {
runTest("can't override private pointcut in abstract aspect");
}
public void testAdviceOnCflow() {
runTest("advising cflow advice execution");
}
public void testNoTypeMismatchOnSameGenericTypes() {
runTest("no type mismatch on generic types in itds");
... |
116,755 | Bug 116755 PointcutParser is not configurable | I'm testing the reflection and weaver tools APIs. When I using following code: PointcutParser parse = new PointcutParser(); String expr = "call(public * main.hello(..)"; PointcutExpression pex = parse.parsePointcutExpression(expr); Whenever I use a full qualified class name in pointcut expression, an exception is throw... | resolved fixed | 522911e | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-19T17:08:48Z | 2005-11-17T01:13:20Z | tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java | public void testCantFindTypeErrorWithGenericReturnTypeOrParameter() {
runTest("cant find type error with generic return type or parameter");
}
public void testNoVerifyErrorOnGenericCollectionMemberAccess() {
runTest("no verify error on generic collection member access");
}
public void testRawAndGeneric... |
116,755 | Bug 116755 PointcutParser is not configurable | I'm testing the reflection and weaver tools APIs. When I using following code: PointcutParser parse = new PointcutParser(); String expr = "call(public * main.hello(..)"; PointcutExpression pex = parse.parsePointcutExpression(expr); Whenever I use a full qualified class name in pointcut expression, an exception is throw... | resolved fixed | 522911e | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-19T17:08:48Z | 2005-11-17T01:13:20Z | tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java | public void testCantProvideDefaultImplViaITD_pr110307_2() {runTest("Cant provide default implementation via ITD - 2");}
public void testCantProvideDefaultImplViaITD_pr110307_3() {runTest("Cant provide default implementation via ITD - 3");}
public void testCantProvideDefaultImplViaITD_pr110307_4() {runTest("Cant pro... |
116,755 | Bug 116755 PointcutParser is not configurable | I'm testing the reflection and weaver tools APIs. When I using following code: PointcutParser parse = new PointcutParser(); String expr = "call(public * main.hello(..)"; PointcutExpression pex = parse.parsePointcutExpression(expr); Whenever I use a full qualified class name in pointcut expression, an exception is throw... | resolved fixed | 522911e | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-19T17:08:48Z | 2005-11-17T01:13:20Z | tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java | public void testAdviceInStructureModelWithAnonymousInnerClass_pr77269() {
runTest("advice in structure model with anonymous inner class");
IHierarchy top = AsmManager.getDefault().getHierarchy();
IProgramElement anonRunMethodIPE = top.findElementForLabel(top.getRoot(),
... |
116,755 | Bug 116755 PointcutParser is not configurable | I'm testing the reflection and weaver tools APIs. When I using following code: PointcutParser parse = new PointcutParser(); String expr = "call(public * main.hello(..)"; PointcutExpression pex = parse.parsePointcutExpression(expr); Whenever I use a full qualified class name in pointcut expression, an exception is throw... | resolved fixed | 522911e | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-19T17:08:48Z | 2005-11-17T01:13:20Z | tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java | if (element.getName().equals("advises")) {
rel = (Relationship) element;
break;
}
}
targets = rel.getTargets();
assertTrue("Should have one target but has" + targets.size(),
targets.size()==1);
target = AsmManager.getDefault().getHierarchy().findElementForHandle((String)targets.get(0));... |
116,755 | Bug 116755 PointcutParser is not configurable | I'm testing the reflection and weaver tools APIs. When I using following code: PointcutParser parse = new PointcutParser(); String expr = "call(public * main.hello(..)"; PointcutExpression pex = parse.parsePointcutExpression(expr); Whenever I use a full qualified class name in pointcut expression, an exception is throw... | resolved fixed | 522911e | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-19T17:08:48Z | 2005-11-17T01:13:20Z | tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java | targets.size()==1);
IProgramElement target = AsmManager.getDefault().getHierarchy().findElementForHandle((String)targets.get(0));
assertEquals("target of relationship should be 'before(): p..' but is "
+ target.toLabelString(),"before(): p..",target.toLabelString());
IProgramElement adviceIP... |
116,755 | Bug 116755 PointcutParser is not configurable | I'm testing the reflection and weaver tools APIs. When I using following code: PointcutParser parse = new PointcutParser(); String expr = "call(public * main.hello(..)"; PointcutExpression pex = parse.parsePointcutExpression(expr); Whenever I use a full qualified class name in pointcut expression, an exception is throw... | resolved fixed | 522911e | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-19T17:08:48Z | 2005-11-17T01:13:20Z | tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java | IHierarchy top = AsmManager.getDefault().getHierarchy();
IProgramElement pe = top.findElementForLabel(top.getRoot(),
IProgramElement.Kind.CODE,"method-call(void pack.Test.someMethod())");
assertNotNull("Couldn't find 'method-call(void pack.Test.someMethod())' element in the tree",pe);
}
pu... |
116,755 | Bug 116755 PointcutParser is not configurable | I'm testing the reflection and weaver tools APIs. When I using following code: PointcutParser parse = new PointcutParser(); String expr = "call(public * main.hello(..)"; PointcutExpression pex = parse.parsePointcutExpression(expr); Whenever I use a full qualified class name in pointcut expression, an exception is throw... | resolved fixed | 522911e | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-19T17:08:48Z | 2005-11-17T01:13:20Z | tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java | public void testAssertWithinPointcutExpression() {
runTest("pointcut expression containing 'assert'");
}
public void testNoVerifyErrorWithTwoThisPCDs_pr113447() {
runTest("no verify error with two this pcds");
}
public void testNoVerifyErrorWithTwoAtThisPCDs_pr113447() {
runTest("no verify error wit... |
116,755 | Bug 116755 PointcutParser is not configurable | I'm testing the reflection and weaver tools APIs. When I using following code: PointcutParser parse = new PointcutParser(); String expr = "call(public * main.hello(..)"; PointcutExpression pex = parse.parsePointcutExpression(expr); Whenever I use a full qualified class name in pointcut expression, an exception is throw... | resolved fixed | 522911e | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-19T17:08:48Z | 2005-11-17T01:13:20Z | tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java | public void testNoStackOverflowWithCircularPCDInGenericAspect2() {
runTest("no StackOverflowError with circular pcd in generic aspect - 2");
}
/*
* Load-time weaving bugs
*/
public void testNPEinWeavingAdaptor_pr116626() { runTest("NPE in WeavingAdaptor");}
public void testXlintMessageForImproperAnn... |
116,755 | Bug 116755 PointcutParser is not configurable | I'm testing the reflection and weaver tools APIs. When I using following code: PointcutParser parse = new PointcutParser(); String expr = "call(public * main.hello(..)"; PointcutExpression pex = parse.parsePointcutExpression(expr); Whenever I use a full qualified class name in pointcut expression, an exception is throw... | resolved fixed | 522911e | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-19T17:08:48Z | 2005-11-17T01:13:20Z | weaver/src/org/aspectj/weaver/bcel/BcelWorld.java | /* *******************************************************************
* Copyright (c) 2002 Palo Alto Research Center, Incorporated (PARC).
* All rights reserved.
* This program and the accompanying materials are made available
* under the terms of the Common Public License v1.0
* which accompanies this distributi... |
116,755 | Bug 116755 PointcutParser is not configurable | I'm testing the reflection and weaver tools APIs. When I using following code: PointcutParser parse = new PointcutParser(); String expr = "call(public * main.hello(..)"; PointcutExpression pex = parse.parsePointcutExpression(expr); Whenever I use a full qualified class name in pointcut expression, an exception is throw... | resolved fixed | 522911e | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-19T17:08:48Z | 2005-11-17T01:13:20Z | weaver/src/org/aspectj/weaver/bcel/BcelWorld.java | import org.aspectj.apache.bcel.generic.INVOKESPECIAL;
import org.aspectj.apache.bcel.generic.INVOKESTATIC;
import org.aspectj.apache.bcel.generic.InvokeInstruction;
import org.aspectj.apache.bcel.generic.PUTSTATIC;
import org.aspectj.apache.bcel.generic.Type;
import org.aspectj.apache.bcel.util.ClassLoaderRepository;
i... |
116,755 | Bug 116755 PointcutParser is not configurable | I'm testing the reflection and weaver tools APIs. When I using following code: PointcutParser parse = new PointcutParser(); String expr = "call(public * main.hello(..)"; PointcutExpression pex = parse.parsePointcutExpression(expr); Whenever I use a full qualified class name in pointcut expression, an exception is throw... | resolved fixed | 522911e | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-19T17:08:48Z | 2005-11-17T01:13:20Z | weaver/src/org/aspectj/weaver/bcel/BcelWorld.java | private ClassPathManager classPath;
private Repository delegate; |
116,755 | Bug 116755 PointcutParser is not configurable | I'm testing the reflection and weaver tools APIs. When I using following code: PointcutParser parse = new PointcutParser(); String expr = "call(public * main.hello(..)"; PointcutExpression pex = parse.parsePointcutExpression(expr); Whenever I use a full qualified class name in pointcut expression, an exception is throw... | resolved fixed | 522911e | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-19T17:08:48Z | 2005-11-17T01:13:20Z | weaver/src/org/aspectj/weaver/bcel/BcelWorld.java | public BcelWorld() {
this("");
}
public BcelWorld(String cp) {
this(makeDefaultClasspath(cp), IMessageHandler.THROW, null);
}
private static List makeDefaultClasspath(String cp) {
List classPath = new ArrayList();
classPath.addAll(getPathEntries(cp));
classPath.addAll(getPathEntries(ClassPath.getCla... |
116,755 | Bug 116755 PointcutParser is not configurable | I'm testing the reflection and weaver tools APIs. When I using following code: PointcutParser parse = new PointcutParser(); String expr = "call(public * main.hello(..)"; PointcutExpression pex = parse.parsePointcutExpression(expr); Whenever I use a full qualified class name in pointcut expression, an exception is throw... | resolved fixed | 522911e | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-19T17:08:48Z | 2005-11-17T01:13:20Z | weaver/src/org/aspectj/weaver/bcel/BcelWorld.java | delegate = this;
}
public BcelWorld(ClassPathManager cpm, IMessageHandler handler, ICrossReferenceHandler xrefHandler) {
this.classPath = cpm;
setMessageHandler(handler);
setCrossReferenceHandler(xrefHandler);
delegate = this;
}
/**
* Build a World from a Cla... |
116,755 | Bug 116755 PointcutParser is not configurable | I'm testing the reflection and weaver tools APIs. When I using following code: PointcutParser parse = new PointcutParser(); String expr = "call(public * main.hello(..)"; PointcutExpression pex = parse.parsePointcutExpression(expr); Whenever I use a full qualified class name in pointcut expression, an exception is throw... | resolved fixed | 522911e | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-19T17:08:48Z | 2005-11-17T01:13:20Z | weaver/src/org/aspectj/weaver/bcel/BcelWorld.java | }
public void addPath (String name) {
classPath.addPath(name, this.getMessageHandler());
}
/**
* Parse a string into advice.
*
* <blockquote><pre>
* Kind ( Id , ... ) : Pointcut -> MethodSignature
* </pre></blockquote>
*/
public Advice shadowMunger(String str, int extraFlag) {... |
116,755 | Bug 116755 PointcutParser is not configurable | I'm testing the reflection and weaver tools APIs. When I using following code: PointcutParser parse = new PointcutParser(); String expr = "call(public * main.hello(..)"; PointcutExpression pex = parse.parsePointcutExpression(expr); Whenever I use a full qualified class name in pointcut expression, an exception is throw... | resolved fixed | 522911e | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-19T17:08:48Z | 2005-11-17T01:13:20Z | weaver/src/org/aspectj/weaver/bcel/BcelWorld.java | UnresolvedType[] types = m.getParameterTypes();
FormalBinding[] bindings = new FormalBinding[ids.length];
for (int j = 0, len = ids.length; j < len; j++) {
bindings[j] = new FormalBinding(types[j], ids[j], j, 0, 0, "fromString");
}
Pointcut p =
pointcut.resolve(new S... |
116,755 | Bug 116755 PointcutParser is not configurable | I'm testing the reflection and weaver tools APIs. When I using following code: PointcutParser parse = new PointcutParser(); String expr = "call(public * main.hello(..)"; PointcutExpression pex = parse.parsePointcutExpression(expr); Whenever I use a full qualified class name in pointcut expression, an exception is throw... | resolved fixed | 522911e | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-19T17:08:48Z | 2005-11-17T01:13:20Z | weaver/src/org/aspectj/weaver/bcel/BcelWorld.java | static Type[] makeBcelTypes(UnresolvedType[] types) {
Type[] ret = new Type[types.length];
for (int i = 0, len = types.length; i < len; i++) {
ret[i] = makeBcelType(types[i]);
}
return ret;
}
static String[] makeBcelTypesAsClassNames(UnresolvedType[] types) {
... |
116,755 | Bug 116755 PointcutParser is not configurable | I'm testing the reflection and weaver tools APIs. When I using following code: PointcutParser parse = new PointcutParser(); String expr = "call(public * main.hello(..)"; PointcutExpression pex = parse.parsePointcutExpression(expr); Whenever I use a full qualified class name in pointcut expression, an exception is throw... | resolved fixed | 522911e | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-19T17:08:48Z | 2005-11-17T01:13:20Z | weaver/src/org/aspectj/weaver/bcel/BcelWorld.java | JavaClass jc = null;
if (jc == null) {
jc = lookupJavaClass(classPath, name);
}
if (jc == null) {
return null;
} else {
return makeBcelObjectType(ty, jc, false);
}
}
protected BcelObjectType makeBcelObjectType(ReferenceType ... |
116,755 | Bug 116755 PointcutParser is not configurable | I'm testing the reflection and weaver tools APIs. When I using following code: PointcutParser parse = new PointcutParser(); String expr = "call(public * main.hello(..)"; PointcutExpression pex = parse.parsePointcutExpression(expr); Whenever I use a full qualified class name in pointcut expression, an exception is throw... | resolved fixed | 522911e | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-19T17:08:48Z | 2005-11-17T01:13:20Z | weaver/src/org/aspectj/weaver/bcel/BcelWorld.java | ClassParser parser = new ClassParser(file.getInputStream(), file.getPath());
JavaClass jc = parser.parse();
file.close();
return jc;
} catch (IOException ioe) {
return null;
}
}
public BcelObjectType addSourceObjectType(JavaClass jc) {
BcelObjectType ret = null;
String signatur... |
116,755 | Bug 116755 PointcutParser is not configurable | I'm testing the reflection and weaver tools APIs. When I using following code: PointcutParser parse = new PointcutParser(); String expr = "call(public * main.hello(..)"; PointcutExpression pex = parse.parsePointcutExpression(expr); Whenever I use a full qualified class name in pointcut expression, an exception is throw... | resolved fixed | 522911e | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-19T17:08:48Z | 2005-11-17T01:13:20Z | weaver/src/org/aspectj/weaver/bcel/BcelWorld.java | nameTypeX = ReferenceType.fromTypeX(UnresolvedType.forRawTypeName(jc.getClassName()),this);
ret = makeBcelObjectType(nameTypeX, jc, true);
ReferenceType genericRefType = new ReferenceType(
UnresolvedType.forGenericTypeSignature(signature,ret.getDeclaredGenericSignature()),this);
nameTypeX... |
116,755 | Bug 116755 PointcutParser is not configurable | I'm testing the reflection and weaver tools APIs. When I using following code: PointcutParser parse = new PointcutParser(); String expr = "call(public * main.hello(..)"; PointcutExpression pex = parse.parsePointcutExpression(expr); Whenever I use a full qualified class name in pointcut expression, an exception is throw... | resolved fixed | 522911e | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-19T17:08:48Z | 2005-11-17T01:13:20Z | weaver/src/org/aspectj/weaver/bcel/BcelWorld.java | fi.getSignature(cpg));
}
public Member makeJoinPointSignature(LazyMethodGen mg) {
return makeJoinPointSignatureFromMethod(mg, null);
}
public Member makeJoinPointSignatureFromMethod(LazyMethodGen mg, MemberImpl.Kind kind) {
Member ret = mg.getMemberView();
if (ret == null) {
int mods = mg.... |
116,755 | Bug 116755 PointcutParser is not configurable | I'm testing the reflection and weaver tools APIs. When I using following code: PointcutParser parse = new PointcutParser(); String expr = "call(public * main.hello(..)"; PointcutExpression pex = parse.parsePointcutExpression(expr); Whenever I use a full qualified class name in pointcut expression, an exception is throw... | resolved fixed | 522911e | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-19T17:08:48Z | 2005-11-17T01:13:20Z | weaver/src/org/aspectj/weaver/bcel/BcelWorld.java | fromBcel(mg.getArgumentTypes())
);
} else {
return ret;
}
}
public Member makeJoinPointSignatureForMethodInvocation(LazyClassGen cg, InvokeInstruction ii) {
ConstantPoolGen cpg = cg.getConstantPoolGen();
String name = ii.getName(cpg);
String declaring = ii.getC... |
116,755 | Bug 116755 PointcutParser is not configurable | I'm testing the reflection and weaver tools APIs. When I using following code: PointcutParser parse = new PointcutParser(); String expr = "call(public * main.hello(..)"; PointcutExpression pex = parse.parsePointcutExpression(expr); Whenever I use a full qualified class name in pointcut expression, an exception is throw... | resolved fixed | 522911e | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-19T17:08:48Z | 2005-11-17T01:13:20Z | weaver/src/org/aspectj/weaver/bcel/BcelWorld.java | ResolvedMember method = (ResolvedMember) iterator.next();
if (method.isStatic()) {
if (name.equals(method.getName()) && signature.equals(method.getSignature())) {
declaringType = method.getDeclaringType();
break... |
116,755 | Bug 116755 PointcutParser is not configurable | I'm testing the reflection and weaver tools APIs. When I using following code: PointcutParser parse = new PointcutParser(); String expr = "call(public * main.hello(..)"; PointcutExpression pex = parse.parsePointcutExpression(expr); Whenever I use a full qualified class name in pointcut expression, an exception is throw... | resolved fixed | 522911e | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-19T17:08:48Z | 2005-11-17T01:13:20Z | weaver/src/org/aspectj/weaver/bcel/BcelWorld.java | buf.append("BcelWorld(");
buf.append(")");
return buf.toString();
}
public Advice createAdviceMunger(
AjAttribute.AdviceAttribute attribute,
Pointcut pointcut,
Member signature)
{
return new BcelAdvice(attribute, pointcut, signature, null);
}
public Concre... |
116,755 | Bug 116755 PointcutParser is not configurable | I'm testing the reflection and weaver tools APIs. When I using following code: PointcutParser parse = new PointcutParser(); String expr = "call(public * main.hello(..)"; PointcutExpression pex = parse.parsePointcutExpression(expr); Whenever I use a full qualified class name in pointcut expression, an exception is throw... | resolved fixed | 522911e | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-19T17:08:48Z | 2005-11-17T01:13:20Z | weaver/src/org/aspectj/weaver/bcel/BcelWorld.java | * @param aspect
* @param kind
* @return munger
*/
public ConcreteTypeMunger makePerClauseAspect(ResolvedType aspect, PerClause.Kind kind) {
return new BcelPerClauseAspectAdder(aspect, kind);
}
/**
* Retrieve a bcel delegate for an aspect - this will return NULL if the
* dele... |
116,755 | Bug 116755 PointcutParser is not configurable | I'm testing the reflection and weaver tools APIs. When I using following code: PointcutParser parse = new PointcutParser(); String expr = "call(public * main.hello(..)"; PointcutExpression pex = parse.parsePointcutExpression(expr); Whenever I use a full qualified class name in pointcut expression, an exception is throw... | resolved fixed | 522911e | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-19T17:08:48Z | 2005-11-17T01:13:20Z | weaver/src/org/aspectj/weaver/bcel/BcelWorld.java | return lookupJavaClass(classPath,className);
}
public void storeClass(JavaClass clazz) {
throw new RuntimeException("Not implemented");
}
public void removeClass(JavaClass clazz) {
throw new RuntimeException("Not implemented");
}
public JavaClass loadClass(Class clazz) throws ClassNotFoundException {
throw ... |
116,755 | Bug 116755 PointcutParser is not configurable | I'm testing the reflection and weaver tools APIs. When I using following code: PointcutParser parse = new PointcutParser(); String expr = "call(public * main.hello(..)"; PointcutExpression pex = parse.parsePointcutExpression(expr); Whenever I use a full qualified class name in pointcut expression, an exception is throw... | resolved fixed | 522911e | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-19T17:08:48Z | 2005-11-17T01:13:20Z | weaver/src/org/aspectj/weaver/bcel/BcelWorld.java | *
* @param name
* @param bytes
* @return true if so
*/
public boolean isAnnotationStyleAspect(String name, byte[] bytes) {
try {
ClassParser cp = new ClassParser(new ByteArrayInputStream(bytes), null);
JavaClass jc = cp.parse();
if (!jc.isClass()) {
... |
116,755 | Bug 116755 PointcutParser is not configurable | I'm testing the reflection and weaver tools APIs. When I using following code: PointcutParser parse = new PointcutParser(); String expr = "call(public * main.hello(..)"; PointcutExpression pex = parse.parsePointcutExpression(expr); Whenever I use a full qualified class name in pointcut expression, an exception is throw... | resolved fixed | 522911e | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-19T17:08:48Z | 2005-11-17T01:13:20Z | weaver/src/org/aspectj/weaver/reflect/AnnotationFinder.java | /* *******************************************************************
* Copyright (c) 2005 Contributors.
* All rights reserved.
* This program and the accompanying materials are made available
* under the terms of the Eclipse Public License v1.0
* which accompanies this distribution and is available at
* htt... |
116,755 | Bug 116755 PointcutParser is not configurable | I'm testing the reflection and weaver tools APIs. When I using following code: PointcutParser parse = new PointcutParser(); String expr = "call(public * main.hello(..)"; PointcutExpression pex = parse.parsePointcutExpression(expr); Whenever I use a full qualified class name in pointcut expression, an exception is throw... | resolved fixed | 522911e | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-19T17:08:48Z | 2005-11-17T01:13:20Z | weaver/src/org/aspectj/weaver/reflect/ReflectionBasedReferenceTypeDelegate.java | /* *******************************************************************
* Copyright (c) 2005 Contributors.
* All rights reserved.
* This program and the accompanying materials are made available
* under the terms of the Eclipse Public License v1.0
* which accompanies this distribution and is available at
* htt... |
116,755 | Bug 116755 PointcutParser is not configurable | I'm testing the reflection and weaver tools APIs. When I using following code: PointcutParser parse = new PointcutParser(); String expr = "call(public * main.hello(..)"; PointcutExpression pex = parse.parsePointcutExpression(expr); Whenever I use a full qualified class name in pointcut expression, an exception is throw... | resolved fixed | 522911e | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-19T17:08:48Z | 2005-11-17T01:13:20Z | weaver/src/org/aspectj/weaver/reflect/ReflectionBasedReferenceTypeDelegate.java | * Contributors:
* Adrian Colyer Initial implementation
* ******************************************************************/
package org.aspectj.weaver.reflect;
import java.lang.reflect.Constructor;
import java.lang.reflect.Field;
import java.lang.reflect.Method;
import java.util.Collection;
import java.util.Col... |
116,755 | Bug 116755 PointcutParser is not configurable | I'm testing the reflection and weaver tools APIs. When I using following code: PointcutParser parse = new PointcutParser(); String expr = "call(public * main.hello(..)"; PointcutExpression pex = parse.parsePointcutExpression(expr); Whenever I use a full qualified class name in pointcut expression, an exception is throw... | resolved fixed | 522911e | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-19T17:08:48Z | 2005-11-17T01:13:20Z | weaver/src/org/aspectj/weaver/reflect/ReflectionBasedReferenceTypeDelegate.java | private ResolvedMember[] fields = null;
private ResolvedMember[] methods = null;
private ResolvedType[] interfaces = null;
public ReflectionBasedReferenceTypeDelegate(Class forClass, World inWorld, ReferenceType resolvedType) {
initialize(resolvedType,forClass,inWorld);
}
public ReflectionBasedReferenceTyp... |
116,755 | Bug 116755 PointcutParser is not configurable | I'm testing the reflection and weaver tools APIs. When I using following code: PointcutParser parse = new PointcutParser(); String expr = "call(public * main.hello(..)"; PointcutExpression pex = parse.parsePointcutExpression(expr); Whenever I use a full qualified class name in pointcut expression, an exception is throw... | resolved fixed | 522911e | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-19T17:08:48Z | 2005-11-17T01:13:20Z | weaver/src/org/aspectj/weaver/reflect/ReflectionBasedReferenceTypeDelegate.java | public ReferenceType buildGenericType() {
throw new UnsupportedOperationException("Shouldn't be asking for generic type at 1.4 source level or lower");
}
/* (non-Javadoc)
* @see org.aspectj.weaver.ReferenceTypeDelegate#addAnnotation(org.aspectj.weaver.AnnotationX)
*/
public void addAnnotation(AnnotationX ann... |
116,755 | Bug 116755 PointcutParser is not configurable | I'm testing the reflection and weaver tools APIs. When I using following code: PointcutParser parse = new PointcutParser(); String expr = "call(public * main.hello(..)"; PointcutExpression pex = parse.parsePointcutExpression(expr); Whenever I use a full qualified class name in pointcut expression, an exception is throw... | resolved fixed | 522911e | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-19T17:08:48Z | 2005-11-17T01:13:20Z | weaver/src/org/aspectj/weaver/reflect/ReflectionBasedReferenceTypeDelegate.java | /* (non-Javadoc)
* @see org.aspectj.weaver.ReferenceTypeDelegate#isEnum()
*/
public boolean isEnum() {
return false;
}
/* (non-Javadoc)
* @see org.aspectj.weaver.ReferenceTypeDelegate#isAnnotation()
*/
public boolean isAnnotation() {
return false;
}
/* (non-Javadoc)
* @see org.aspectj.weaver.R... |
116,755 | Bug 116755 PointcutParser is not configurable | I'm testing the reflection and weaver tools APIs. When I using following code: PointcutParser parse = new PointcutParser(); String expr = "call(public * main.hello(..)"; PointcutExpression pex = parse.parsePointcutExpression(expr); Whenever I use a full qualified class name in pointcut expression, an exception is throw... | resolved fixed | 522911e | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-19T17:08:48Z | 2005-11-17T01:13:20Z | weaver/src/org/aspectj/weaver/reflect/ReflectionBasedReferenceTypeDelegate.java | public AnnotationTargetKind[] getAnnotationTargetKinds() {
return null;
}
/* (non-Javadoc)
* @see org.aspectj.weaver.ReferenceTypeDelegate#isClass()
*/
public boolean isClass() {
return !this.myClass.isInterface() && !this.myClass.isPrimitive() && !this.myClass.isArray();
}
/* (non-Javadoc)
* @see org.... |
116,755 | Bug 116755 PointcutParser is not configurable | I'm testing the reflection and weaver tools APIs. When I using following code: PointcutParser parse = new PointcutParser(); String expr = "call(public * main.hello(..)"; PointcutExpression pex = parse.parsePointcutExpression(expr); Whenever I use a full qualified class name in pointcut expression, an exception is throw... | resolved fixed | 522911e | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-19T17:08:48Z | 2005-11-17T01:13:20Z | weaver/src/org/aspectj/weaver/reflect/ReflectionBasedReferenceTypeDelegate.java | */
public boolean hasAnnotation(UnresolvedType ofType) {
return false;
}
/* (non-Javadoc)
* @see org.aspectj.weaver.ReferenceTypeDelegate#getAnnotations()
*/
public AnnotationX[] getAnnotations() {
return new AnnotationX[0];
}
/* (non-Javadoc)
* @see org.aspectj.weaver.ReferenceTypeDelegate#getAnn... |
116,755 | Bug 116755 PointcutParser is not configurable | I'm testing the reflection and weaver tools APIs. When I using following code: PointcutParser parse = new PointcutParser(); String expr = "call(public * main.hello(..)"; PointcutExpression pex = parse.parsePointcutExpression(expr); Whenever I use a full qualified class name in pointcut expression, an exception is throw... | resolved fixed | 522911e | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-19T17:08:48Z | 2005-11-17T01:13:20Z | weaver/src/org/aspectj/weaver/reflect/ReflectionBasedReferenceTypeDelegate.java | }
return fields;
}
/* (non-Javadoc)
* @see org.aspectj.weaver.ReferenceTypeDelegate#getDeclaredInterfaces()
*/
public ResolvedType[] getDeclaredInterfaces() {
if (interfaces == null) {
Class[] reflectInterfaces = this.myClass.getInterfaces();
this.interfaces = new ResolvedType[reflectInterfaces.length]... |
116,755 | Bug 116755 PointcutParser is not configurable | I'm testing the reflection and weaver tools APIs. When I using following code: PointcutParser parse = new PointcutParser(); String expr = "call(public * main.hello(..)"; PointcutExpression pex = parse.parsePointcutExpression(expr); Whenever I use a full qualified class name in pointcut expression, an exception is throw... | resolved fixed | 522911e | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-19T17:08:48Z | 2005-11-17T01:13:20Z | weaver/src/org/aspectj/weaver/reflect/ReflectionBasedReferenceTypeDelegate.java | ReflectionBasedReferenceTypeDelegateFactory.createResolvedMember(reflectCons[i], world);
}
}
return methods;
}
/* (non-Javadoc)
* @see org.aspectj.weaver.ReferenceTypeDelegate#getDeclaredPointcuts()
*/
public ResolvedMember[] getDeclaredPointcuts() {
return new ResolvedMember[0];
}
/* (non-Javadoc)
... |
116,755 | Bug 116755 PointcutParser is not configurable | I'm testing the reflection and weaver tools APIs. When I using following code: PointcutParser parse = new PointcutParser(); String expr = "call(public * main.hello(..)"; PointcutExpression pex = parse.parsePointcutExpression(expr); Whenever I use a full qualified class name in pointcut expression, an exception is throw... | resolved fixed | 522911e | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-19T17:08:48Z | 2005-11-17T01:13:20Z | weaver/src/org/aspectj/weaver/reflect/ReflectionBasedReferenceTypeDelegate.java | return Collections.EMPTY_SET;
}
/* (non-Javadoc)
* @see org.aspectj.weaver.ReferenceTypeDelegate#getTypeMungers()
*/
public Collection getTypeMungers() {
return Collections.EMPTY_SET;
}
/* (non-Javadoc)
* @see org.aspectj.weaver.ReferenceTypeDelegate#getPrivilegedAccesses()
*/
public Collection getPr... |
116,755 | Bug 116755 PointcutParser is not configurable | I'm testing the reflection and weaver tools APIs. When I using following code: PointcutParser parse = new PointcutParser(); String expr = "call(public * main.hello(..)"; PointcutExpression pex = parse.parsePointcutExpression(expr); Whenever I use a full qualified class name in pointcut expression, an exception is throw... | resolved fixed | 522911e | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-19T17:08:48Z | 2005-11-17T01:13:20Z | weaver/src/org/aspectj/weaver/reflect/ReflectionBasedReferenceTypeDelegate.java | /* (non-Javadoc)
* @see org.aspectj.weaver.ReferenceTypeDelegate#getWeaverState()
*/
public WeaverStateInfo getWeaverState() {
return null;
}
/* (non-Javadoc)
* @see org.aspectj.weaver.ReferenceTypeDelegate#getResolvedTypeX()
*/
public ReferenceType getResolvedTypeX() {
return this.resolvedType;
}
/* ... |
116,755 | Bug 116755 PointcutParser is not configurable | I'm testing the reflection and weaver tools APIs. When I using following code: PointcutParser parse = new PointcutParser(); String expr = "call(public * main.hello(..)"; PointcutExpression pex = parse.parsePointcutExpression(expr); Whenever I use a full qualified class name in pointcut expression, an exception is throw... | resolved fixed | 522911e | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-19T17:08:48Z | 2005-11-17T01:13:20Z | weaver/src/org/aspectj/weaver/reflect/ReflectionBasedReferenceTypeDelegateFactory.java | /* *******************************************************************
* Copyright (c) 2005 Contributors.
* All rights reserved. |
116,755 | Bug 116755 PointcutParser is not configurable | I'm testing the reflection and weaver tools APIs. When I using following code: PointcutParser parse = new PointcutParser(); String expr = "call(public * main.hello(..)"; PointcutExpression pex = parse.parsePointcutExpression(expr); Whenever I use a full qualified class name in pointcut expression, an exception is throw... | resolved fixed | 522911e | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-19T17:08:48Z | 2005-11-17T01:13:20Z | weaver/src/org/aspectj/weaver/reflect/ReflectionBasedReferenceTypeDelegateFactory.java | * This program and the accompanying materials are made available
* under the terms of the Eclipse Public License v1.0
* which accompanies this distribution and is available at
* http://eclipse.org/legal/epl-v10.html
*
* Contributors:
* Adrian Colyer Initial implementation
* ***************************... |
116,755 | Bug 116755 PointcutParser is not configurable | I'm testing the reflection and weaver tools APIs. When I using following code: PointcutParser parse = new PointcutParser(); String expr = "call(public * main.hello(..)"; PointcutExpression pex = parse.parsePointcutExpression(expr); Whenever I use a full qualified class name in pointcut expression, an exception is throw... | resolved fixed | 522911e | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-19T17:08:48Z | 2005-11-17T01:13:20Z | weaver/src/org/aspectj/weaver/reflect/ReflectionBasedReferenceTypeDelegateFactory.java | try {
Class c = Class.forName(forReferenceType.getName());
if (LangUtil.is15VMOrGreater()) {
ReflectionBasedReferenceTypeDelegate rbrtd = create15Delegate(forReferenceType,c,inWorld);
if (rbrtd!=null) return rbrtd;
}
return new ReflectionBasedReferenceTypeDelegate(c,inWorld,forReferenceType);
} c... |
116,755 | Bug 116755 PointcutParser is not configurable | I'm testing the reflection and weaver tools APIs. When I using following code: PointcutParser parse = new PointcutParser(); String expr = "call(public * main.hello(..)"; PointcutExpression pex = parse.parsePointcutExpression(expr); Whenever I use a full qualified class name in pointcut expression, an exception is throw... | resolved fixed | 522911e | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-19T17:08:48Z | 2005-11-17T01:13:20Z | weaver/src/org/aspectj/weaver/reflect/ReflectionBasedReferenceTypeDelegateFactory.java | * @param inWorld
* @return
*/
public static ResolvedMember createResolvedMember(Member reflectMember, World inWorld) {
if (reflectMember instanceof Method) {
return createResolvedMethod((Method)reflectMember,inWorld);
} else if (reflectMember instanceof Constructor) {
return createResolvedConstructor((Co... |
116,755 | Bug 116755 PointcutParser is not configurable | I'm testing the reflection and weaver tools APIs. When I using following code: PointcutParser parse = new PointcutParser(); String expr = "call(public * main.hello(..)"; PointcutExpression pex = parse.parsePointcutExpression(expr); Whenever I use a full qualified class name in pointcut expression, an exception is throw... | resolved fixed | 522911e | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-19T17:08:48Z | 2005-11-17T01:13:20Z | weaver/src/org/aspectj/weaver/reflect/ReflectionBasedReferenceTypeDelegateFactory.java | toResolvedType(aMethod.getReturnType(),(ReflectionWorld)inWorld),
aMethod.getName(),
toResolvedTypeArray(aMethod.getParameterTypes(),inWorld),
toResolvedTypeArray(aMethod.getExceptionTypes(),inWorld),
aMethod
);
}
public static ResolvedMember createStaticInitMember(Class forType, World inWorld) ... |
116,755 | Bug 116755 PointcutParser is not configurable | I'm testing the reflection and weaver tools APIs. When I using following code: PointcutParser parse = new PointcutParser(); String expr = "call(public * main.hello(..)"; PointcutExpression pex = parse.parsePointcutExpression(expr); Whenever I use a full qualified class name in pointcut expression, an exception is throw... | resolved fixed | 522911e | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-19T17:08:48Z | 2005-11-17T01:13:20Z | weaver/src/org/aspectj/weaver/reflect/ReflectionBasedReferenceTypeDelegateFactory.java | return new ReflectionBasedResolvedMemberImpl(org.aspectj.weaver.Member.FIELD,
toResolvedType(aField.getDeclaringClass(),(ReflectionWorld)inWorld),
aField.getModifiers(),
toResolvedType(aField.getType(),(ReflectionWorld)inWorld),
aField.getName(),
new UnresolvedType[0],
aField);
}
public stat... |
116,755 | Bug 116755 PointcutParser is not configurable | I'm testing the reflection and weaver tools APIs. When I using following code: PointcutParser parse = new PointcutParser(); String expr = "call(public * main.hello(..)"; PointcutExpression pex = parse.parsePointcutExpression(expr); Whenever I use a full qualified class name in pointcut expression, an exception is throw... | resolved fixed | 522911e | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-19T17:08:48Z | 2005-11-17T01:13:20Z | weaver/src/org/aspectj/weaver/reflect/ReflectionBasedResolvedMemberImpl.java | /* *******************************************************************
* Copyright (c) 2005 Contributors.
* All rights reserved.
* This program and the accompanying materials are made available
* under the terms of the Eclipse Public License v1.0
* which accompanies this distribution and is available at
* htt... |
116,755 | Bug 116755 PointcutParser is not configurable | I'm testing the reflection and weaver tools APIs. When I using following code: PointcutParser parse = new PointcutParser(); String expr = "call(public * main.hello(..)"; PointcutExpression pex = parse.parsePointcutExpression(expr); Whenever I use a full qualified class name in pointcut expression, an exception is throw... | resolved fixed | 522911e | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-19T17:08:48Z | 2005-11-17T01:13:20Z | weaver/src/org/aspectj/weaver/reflect/ReflectionBasedResolvedMemberImpl.java | private static AnnotationFinder annotationFinder = null;
static {
try {
Class java15AnnotationFinder = Class.forName("org.aspectj.weaver.reflect.Java15AnnotationFinder");
annotationFinder = (AnnotationFinder) java15AnnotationFinder.newInstance();
} catch(Exception ex) {
}
}
private Member reflect... |
116,755 | Bug 116755 PointcutParser is not configurable | I'm testing the reflection and weaver tools APIs. When I using following code: PointcutParser parse = new PointcutParser(); String expr = "call(public * main.hello(..)"; PointcutExpression pex = parse.parsePointcutExpression(expr); Whenever I use a full qualified class name in pointcut expression, an exception is throw... | resolved fixed | 522911e | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-19T17:08:48Z | 2005-11-17T01:13:20Z | weaver/src/org/aspectj/weaver/reflect/ReflectionBasedResolvedMemberImpl.java | /**
* @param kind
* @param declaringType
* @param modifiers
* @param returnType
* @param name
* @param parameterTypes
*/
public ReflectionBasedResolvedMemberImpl(Kind kind,
UnresolvedType declaringType, int modifiers,
UnresolvedType returnType, String name,
UnresolvedType[] parameterTypes,
Me... |
116,755 | Bug 116755 PointcutParser is not configurable | I'm testing the reflection and weaver tools APIs. When I using following code: PointcutParser parse = new PointcutParser(); String expr = "call(public * main.hello(..)"; PointcutExpression pex = parse.parsePointcutExpression(expr); Whenever I use a full qualified class name in pointcut expression, an exception is throw... | resolved fixed | 522911e | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-19T17:08:48Z | 2005-11-17T01:13:20Z | weaver/src/org/aspectj/weaver/reflect/ReflectionBasedResolvedMemberImpl.java | super(kind, declaringType, modifiers, returnType, name, parameterTypes,
checkedExceptions);
this.reflectMember = reflectMember;
}
/**
* @param kind
* @param declaringType
* @param modifiers
* @param returnType
* @param name
* @param parameterTypes
* @param checkedExceptions
* @param backingGener... |
116,755 | Bug 116755 PointcutParser is not configurable | I'm testing the reflection and weaver tools APIs. When I using following code: PointcutParser parse = new PointcutParser(); String expr = "call(public * main.hello(..)"; PointcutExpression pex = parse.parsePointcutExpression(expr); Whenever I use a full qualified class name in pointcut expression, an exception is throw... | resolved fixed | 522911e | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-19T17:08:48Z | 2005-11-17T01:13:20Z | weaver/src/org/aspectj/weaver/reflect/ReflectionBasedResolvedMemberImpl.java | * @param signature
*/
public ReflectionBasedResolvedMemberImpl(Kind kind,
UnresolvedType declaringType, int modifiers, String name,
String signature, Member reflectMember) {
super(kind, declaringType, modifiers, name, signature);
this.reflectMember = reflectMember;
}
public boolean hasAnnotation(Unresolv... |
116,755 | Bug 116755 PointcutParser is not configurable | I'm testing the reflection and weaver tools APIs. When I using following code: PointcutParser parse = new PointcutParser(); String expr = "call(public * main.hello(..)"; PointcutExpression pex = parse.parsePointcutExpression(expr); Whenever I use a full qualified class name in pointcut expression, an exception is throw... | resolved fixed | 522911e | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-19T17:08:48Z | 2005-11-17T01:13:20Z | weaver/src/org/aspectj/weaver/reflect/ReflectionShadow.java | /* *******************************************************************
* Copyright (c) 2005 Contributors.
* All rights reserved.
* This program and the accompanying materials are made available
* under the terms of the Eclipse Public License v1.0
* which accompanies this distribution and is available at
* htt... |
116,755 | Bug 116755 PointcutParser is not configurable | I'm testing the reflection and weaver tools APIs. When I using following code: PointcutParser parse = new PointcutParser(); String expr = "call(public * main.hello(..)"; PointcutExpression pex = parse.parsePointcutExpression(expr); Whenever I use a full qualified class name in pointcut expression, an exception is throw... | resolved fixed | 522911e | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-19T17:08:48Z | 2005-11-17T01:13:20Z | weaver/src/org/aspectj/weaver/reflect/ReflectionShadow.java | private World world;
private ResolvedType enclosingType;
private ResolvedMember enclosingMember;
private Var thisVar = null;
private Var targetVar = null;
private Var[] argsVars = null;
private Var atThisVar = null;
private Var atTargetVar = null;
private Map atArgsVars = new HashMap();
private Map withinAnnot... |
116,755 | Bug 116755 PointcutParser is not configurable | I'm testing the reflection and weaver tools APIs. When I using following code: PointcutParser parse = new PointcutParser(); String expr = "call(public * main.hello(..)"; PointcutExpression pex = parse.parsePointcutExpression(expr); Whenever I use a full qualified class name in pointcut expression, an exception is throw... | resolved fixed | 522911e | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-19T17:08:48Z | 2005-11-17T01:13:20Z | weaver/src/org/aspectj/weaver/reflect/ReflectionShadow.java | private Map annotationVar = new HashMap();
public static Shadow makeExecutionShadow(World inWorld, java.lang.reflect.Member forMethod) {
Kind kind = (forMethod instanceof Method) ? Shadow.MethodExecution : Shadow.ConstructorExecution;
Member signature = ReflectionBasedReferenceTypeDelegateFactory.createResolvedM... |
116,755 | Bug 116755 PointcutParser is not configurable | I'm testing the reflection and weaver tools APIs. When I using following code: PointcutParser parse = new PointcutParser(); String expr = "call(public * main.hello(..)"; PointcutExpression pex = parse.parsePointcutExpression(expr); Whenever I use a full qualified class name in pointcut expression, an exception is throw... | resolved fixed | 522911e | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-19T17:08:48Z | 2005-11-17T01:13:20Z | weaver/src/org/aspectj/weaver/reflect/ReflectionShadow.java | return new ReflectionShadow(inWorld,kind,signature,enclosingShadow,enclosingType,enclosingMember);
}
public static Shadow makeStaticInitializationShadow(World inWorld, Class forType) {
Member signature = ReflectionBasedReferenceTypeDelegateFactory.createStaticInitMember(forType, inWorld);
ResolvedType enclosingTy... |
116,755 | Bug 116755 PointcutParser is not configurable | I'm testing the reflection and weaver tools APIs. When I using following code: PointcutParser parse = new PointcutParser(); String expr = "call(public * main.hello(..)"; PointcutExpression pex = parse.parsePointcutExpression(expr); Whenever I use a full qualified class name in pointcut expression, an exception is throw... | resolved fixed | 522911e | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-19T17:08:48Z | 2005-11-17T01:13:20Z | weaver/src/org/aspectj/weaver/reflect/ReflectionShadow.java | }
public static Shadow makeHandlerShadow(World inWorld, Class exceptionType, java.lang.reflect.Member withinCode) {
Kind kind = Shadow.ExceptionHandler;
Shadow enclosingShadow = makeExecutionShadow(inWorld, withinCode);
Member signature = ReflectionBasedReferenceTypeDelegateFactory.createHandlerMember(exceptio... |
116,755 | Bug 116755 PointcutParser is not configurable | I'm testing the reflection and weaver tools APIs. When I using following code: PointcutParser parse = new PointcutParser(); String expr = "call(public * main.hello(..)"; PointcutExpression pex = parse.parsePointcutExpression(expr); Whenever I use a full qualified class name in pointcut expression, an exception is throw... | resolved fixed | 522911e | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-19T17:08:48Z | 2005-11-17T01:13:20Z | weaver/src/org/aspectj/weaver/reflect/ReflectionShadow.java | Member signature = ReflectionBasedReferenceTypeDelegateFactory.createResolvedField(forField, inWorld);
ResolvedMember enclosingMember = ReflectionBasedReferenceTypeDelegateFactory.createStaticInitMember(callerType, inWorld);
ResolvedType enclosingType = enclosingMember.getDeclaringType().resolve(inWorld);
Kind ki... |
116,755 | Bug 116755 PointcutParser is not configurable | I'm testing the reflection and weaver tools APIs. When I using following code: PointcutParser parse = new PointcutParser(); String expr = "call(public * main.hello(..)"; PointcutExpression pex = parse.parsePointcutExpression(expr); Whenever I use a full qualified class name in pointcut expression, an exception is throw... | resolved fixed | 522911e | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-19T17:08:48Z | 2005-11-17T01:13:20Z | weaver/src/org/aspectj/weaver/reflect/ReflectionShadow.java | public Var getThisVar() {
if (thisVar == null && hasThis()) {
thisVar = ReflectionVar.createThisVar(getThisType().resolve(world));
}
return thisVar;
}
/* (non-Javadoc)
* @see org.aspectj.weaver.Shadow#getTargetVar()
*/
public Var getTargetVar() {
if (targetVar == null && hasTarget()) {
targetVar = ... |
116,755 | Bug 116755 PointcutParser is not configurable | I'm testing the reflection and weaver tools APIs. When I using following code: PointcutParser parse = new PointcutParser(); String expr = "call(public * main.hello(..)"; PointcutExpression pex = parse.parsePointcutExpression(expr); Whenever I use a full qualified class name in pointcut expression, an exception is throw... | resolved fixed | 522911e | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-19T17:08:48Z | 2005-11-17T01:13:20Z | weaver/src/org/aspectj/weaver/reflect/ReflectionShadow.java | }
if (i < argsVars.length) {
return argsVars[i];
} else {
return null;
}
}
/* (non-Javadoc)
* @see org.aspectj.weaver.Shadow#getThisJoinPointVar()
*/
public Var getThisJoinPointVar() {
return null;
}
/* (non-Javadoc)
* @see org.aspectj.weaver.Shadow#getThisJoinPointStaticPartVar()
*/
publ... |
116,755 | Bug 116755 PointcutParser is not configurable | I'm testing the reflection and weaver tools APIs. When I using following code: PointcutParser parse = new PointcutParser(); String expr = "call(public * main.hello(..)"; PointcutExpression pex = parse.parsePointcutExpression(expr); Whenever I use a full qualified class name in pointcut expression, an exception is throw... | resolved fixed | 522911e | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-19T17:08:48Z | 2005-11-17T01:13:20Z | weaver/src/org/aspectj/weaver/reflect/ReflectionShadow.java | */
public Var getKindedAnnotationVar(UnresolvedType forAnnotationType) {
ResolvedType annType = forAnnotationType.resolve(world);
if (annotationVar.get(annType) == null) {
Var v = ReflectionVar.createAtAnnotationVar(annType);
annotationVar.put(annType,v);
}
return (Var) annotationVar.get(annType);
}
/*... |
116,755 | Bug 116755 PointcutParser is not configurable | I'm testing the reflection and weaver tools APIs. When I using following code: PointcutParser parse = new PointcutParser(); String expr = "call(public * main.hello(..)"; PointcutExpression pex = parse.parsePointcutExpression(expr); Whenever I use a full qualified class name in pointcut expression, an exception is throw... | resolved fixed | 522911e | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-19T17:08:48Z | 2005-11-17T01:13:20Z | weaver/src/org/aspectj/weaver/reflect/ReflectionShadow.java | }
/* (non-Javadoc)
* @see org.aspectj.weaver.Shadow#getThisAnnotationVar(org.aspectj.weaver.UnresolvedType)
*/
public Var getThisAnnotationVar(UnresolvedType forAnnotationType) {
if (atThisVar == null) {
atThisVar = ReflectionVar.createThisAnnotationVar(forAnnotationType.resolve(world));
}
return atThisV... |
116,755 | Bug 116755 PointcutParser is not configurable | I'm testing the reflection and weaver tools APIs. When I using following code: PointcutParser parse = new PointcutParser(); String expr = "call(public * main.hello(..)"; PointcutExpression pex = parse.parsePointcutExpression(expr); Whenever I use a full qualified class name in pointcut expression, an exception is throw... | resolved fixed | 522911e | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-19T17:08:48Z | 2005-11-17T01:13:20Z | weaver/src/org/aspectj/weaver/reflect/ReflectionShadow.java | if (vars[i] == null) {
vars[i] = ReflectionVar.createArgsAnnotationVar(annType, i);
}
return vars[i];
}
/* (non-Javadoc)
* @see org.aspectj.weaver.Shadow#getEnclosingCodeSignature()
*/
public Member getEnclosingCodeSignature() {
if (getKind().isEnclosingKind()) {
return getSignature();
... |
116,755 | Bug 116755 PointcutParser is not configurable | I'm testing the reflection and weaver tools APIs. When I using following code: PointcutParser parse = new PointcutParser(); String expr = "call(public * main.hello(..)"; PointcutExpression pex = parse.parsePointcutExpression(expr); Whenever I use a full qualified class name in pointcut expression, an exception is throw... | resolved fixed | 522911e | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-19T17:08:48Z | 2005-11-17T01:13:20Z | weaver/src/org/aspectj/weaver/reflect/ReflectionVar.java | /* *******************************************************************
* Copyright (c) 2005 Contributors.
* All rights reserved.
* This program and the accompanying materials are made available
* under the terms of the Eclipse Public License v1.0
* which accompanies this distribution and is available at
* htt... |
116,755 | Bug 116755 PointcutParser is not configurable | I'm testing the reflection and weaver tools APIs. When I using following code: PointcutParser parse = new PointcutParser(); String expr = "call(public * main.hello(..)"; PointcutExpression pex = parse.parsePointcutExpression(expr); Whenever I use a full qualified class name in pointcut expression, an exception is throw... | resolved fixed | 522911e | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-19T17:08:48Z | 2005-11-17T01:13:20Z | weaver/src/org/aspectj/weaver/reflect/ReflectionVar.java | static final int THIS_VAR = 0;
static final int TARGET_VAR = 1;
static final int ARGS_VAR = 2;
static final int AT_THIS_VAR = 3;
static final int AT_TARGET_VAR = 4;
static final int AT_ARGS_VAR = 5;
static final int AT_WITHIN_VAR = 6;
static final int AT_WITHINCODE_VAR = 7;
static final int AT_ANNOTATION_VAR = ... |
116,755 | Bug 116755 PointcutParser is not configurable | I'm testing the reflection and weaver tools APIs. When I using following code: PointcutParser parse = new PointcutParser(); String expr = "call(public * main.hello(..)"; PointcutExpression pex = parse.parsePointcutExpression(expr); Whenever I use a full qualified class name in pointcut expression, an exception is throw... | resolved fixed | 522911e | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-19T17:08:48Z | 2005-11-17T01:13:20Z | weaver/src/org/aspectj/weaver/reflect/ReflectionVar.java | }
}
private int argsIndex = 0;
private int varType;
public static ReflectionVar createThisVar(ResolvedType type) {
ReflectionVar ret = new ReflectionVar(type);
ret.varType = THIS_VAR;
return ret;
}
public static ReflectionVar createTargetVar(ResolvedType type) {
ReflectionVar ret = new ReflectionVar... |
116,755 | Bug 116755 PointcutParser is not configurable | I'm testing the reflection and weaver tools APIs. When I using following code: PointcutParser parse = new PointcutParser(); String expr = "call(public * main.hello(..)"; PointcutExpression pex = parse.parsePointcutExpression(expr); Whenever I use a full qualified class name in pointcut expression, an exception is throw... | resolved fixed | 522911e | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-19T17:08:48Z | 2005-11-17T01:13:20Z | weaver/src/org/aspectj/weaver/reflect/ReflectionVar.java | public static ReflectionVar createTargetAnnotationVar(ResolvedType type) {
ReflectionVar ret = new ReflectionVar(type);
ret.varType = AT_TARGET_VAR;
return ret;
}
public static ReflectionVar createArgsAnnotationVar(ResolvedType type, int index) {
ReflectionVar ret = new ReflectionVar(type);
ret.varType ... |
116,755 | Bug 116755 PointcutParser is not configurable | I'm testing the reflection and weaver tools APIs. When I using following code: PointcutParser parse = new PointcutParser(); String expr = "call(public * main.hello(..)"; PointcutExpression pex = parse.parsePointcutExpression(expr); Whenever I use a full qualified class name in pointcut expression, an exception is throw... | resolved fixed | 522911e | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-19T17:08:48Z | 2005-11-17T01:13:20Z | weaver/src/org/aspectj/weaver/reflect/ReflectionVar.java | private ReflectionVar(ResolvedType type) {
super(type);
}
public Object getBindingAtJoinPoint(Object thisObject, Object targetObject, Object[] args) {
return getBindingAtJoinPoint(thisObject,targetObject,args,null,null,null);
}
/**
* At a join point with the given this, target, and args, return the obje... |
116,755 | Bug 116755 PointcutParser is not configurable | I'm testing the reflection and weaver tools APIs. When I using following code: PointcutParser parse = new PointcutParser(); String expr = "call(public * main.hello(..)"; PointcutExpression pex = parse.parsePointcutExpression(expr); Whenever I use a full qualified class name in pointcut expression, an exception is throw... | resolved fixed | 522911e | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-19T17:08:48Z | 2005-11-17T01:13:20Z | weaver/src/org/aspectj/weaver/reflect/ReflectionVar.java | if (annotationFinder != null) {
return annotationFinder.getAnnotation(getType(), thisObject);
} else return null;
case AT_TARGET_VAR:
if (annotationFinder != null) {
return annotationFinder.getAnnotation(getType(), targetObject);
} else return null;
case AT_ARGS_VAR:
if (this.argsIndex > (args.l... |
116,755 | Bug 116755 PointcutParser is not configurable | I'm testing the reflection and weaver tools APIs. When I using following code: PointcutParser parse = new PointcutParser(); String expr = "call(public * main.hello(..)"; PointcutExpression pex = parse.parsePointcutExpression(expr); Whenever I use a full qualified class name in pointcut expression, an exception is throw... | resolved fixed | 522911e | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-19T17:08:48Z | 2005-11-17T01:13:20Z | weaver/src/org/aspectj/weaver/reflect/ReflectionWorld.java | /* *******************************************************************
* Copyright (c) 2005 Contributors.
* All rights reserved.
* This program and the accompanying materials are made available
* under the terms of the Eclipse Public License v1.0
* which accompanies this distribution and is available at |
116,755 | Bug 116755 PointcutParser is not configurable | I'm testing the reflection and weaver tools APIs. When I using following code: PointcutParser parse = new PointcutParser(); String expr = "call(public * main.hello(..)"; PointcutExpression pex = parse.parsePointcutExpression(expr); Whenever I use a full qualified class name in pointcut expression, an exception is throw... | resolved fixed | 522911e | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-19T17:08:48Z | 2005-11-17T01:13:20Z | weaver/src/org/aspectj/weaver/reflect/ReflectionWorld.java | * http://eclipse.org/legal/epl-v10.html
*
* Contributors:
* Adrian Colyer Initial implementation
* ******************************************************************/
package org.aspectj.weaver.reflect;
import org.aspectj.bridge.AbortException;
import org.aspectj.bridge.IMessage;
import org.aspectj.bridge.I... |
116,755 | Bug 116755 PointcutParser is not configurable | I'm testing the reflection and weaver tools APIs. When I using following code: PointcutParser parse = new PointcutParser(); String expr = "call(public * main.hello(..)"; PointcutExpression pex = parse.parsePointcutExpression(expr); Whenever I use a full qualified class name in pointcut expression, an exception is throw... | resolved fixed | 522911e | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-19T17:08:48Z | 2005-11-17T01:13:20Z | weaver/src/org/aspectj/weaver/reflect/ReflectionWorld.java | public ReflectionWorld() {
super();
this.setMessageHandler(new ExceptionBasedMessageHandler());
setBehaveInJava5Way(LangUtil.is15VMOrGreater());
}
public ResolvedType resolve(Class aClass) {
String className = aClass.getName();
if (aClass.isArray()) {
return resolve(UnresolvedType.forSignature(class... |
116,755 | Bug 116755 PointcutParser is not configurable | I'm testing the reflection and weaver tools APIs. When I using following code: PointcutParser parse = new PointcutParser(); String expr = "call(public * main.hello(..)"; PointcutExpression pex = parse.parsePointcutExpression(expr); Whenever I use a full qualified class name in pointcut expression, an exception is throw... | resolved fixed | 522911e | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-19T17:08:48Z | 2005-11-17T01:13:20Z | weaver/src/org/aspectj/weaver/reflect/ReflectionWorld.java | throw new UnsupportedOperationException("Cannot create advice munger in ReflectionWorld");
}
/* (non-Javadoc)
* @see org.aspectj.weaver.World#makeCflowStackFieldAdder(org.aspectj.weaver.ResolvedMember)
*/
public ConcreteTypeMunger makeCflowStackFieldAdder(ResolvedMember cflowField) {
throw new UnsupportedOpera... |
116,755 | Bug 116755 PointcutParser is not configurable | I'm testing the reflection and weaver tools APIs. When I using following code: PointcutParser parse = new PointcutParser(); String expr = "call(public * main.hello(..)"; PointcutExpression pex = parse.parsePointcutExpression(expr); Whenever I use a full qualified class name in pointcut expression, an exception is throw... | resolved fixed | 522911e | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-19T17:08:48Z | 2005-11-17T01:13:20Z | weaver/src/org/aspectj/weaver/reflect/ReflectionWorld.java | private static final long serialVersionUID = -3432261918302793005L;
public ReflectionWorldException(String message) {
super(message);
}
}
private static class ExceptionBasedMessageHandler implements IMessageHandler {
public boolean handleMessage(IMessage message) throws AbortException {
throw new Reflec... |
116,755 | Bug 116755 PointcutParser is not configurable | I'm testing the reflection and weaver tools APIs. When I using following code: PointcutParser parse = new PointcutParser(); String expr = "call(public * main.hello(..)"; PointcutExpression pex = parse.parsePointcutExpression(expr); Whenever I use a full qualified class name in pointcut expression, an exception is throw... | resolved fixed | 522911e | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-19T17:08:48Z | 2005-11-17T01:13:20Z | weaver/src/org/aspectj/weaver/tools/PointcutParser.java | /*******************************************************************************
* Copyright (c) 2004 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Common Public License v1.0
* which accompanies this distribution, and is a... |
116,755 | Bug 116755 PointcutParser is not configurable | I'm testing the reflection and weaver tools APIs. When I using following code: PointcutParser parse = new PointcutParser(); String expr = "call(public * main.hello(..)"; PointcutExpression pex = parse.parsePointcutExpression(expr); Whenever I use a full qualified class name in pointcut expression, an exception is throw... | resolved fixed | 522911e | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-19T17:08:48Z | 2005-11-17T01:13:20Z | weaver/src/org/aspectj/weaver/tools/PointcutParser.java | import org.aspectj.weaver.patterns.CflowPointcut;
import org.aspectj.weaver.patterns.FormalBinding;
import org.aspectj.weaver.patterns.IScope;
import org.aspectj.weaver.patterns.KindedPointcut;
import org.aspectj.weaver.patterns.NotPointcut;
import org.aspectj.weaver.patterns.OrPointcut;
import org.aspectj.weaver.patte... |
116,755 | Bug 116755 PointcutParser is not configurable | I'm testing the reflection and weaver tools APIs. When I using following code: PointcutParser parse = new PointcutParser(); String expr = "call(public * main.hello(..)"; PointcutExpression pex = parse.parsePointcutExpression(expr); Whenever I use a full qualified class name in pointcut expression, an exception is throw... | resolved fixed | 522911e | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-19T17:08:48Z | 2005-11-17T01:13:20Z | weaver/src/org/aspectj/weaver/tools/PointcutParser.java | primitives.add(PointcutPrimitive.ADVICE_EXECUTION);
primitives.add(PointcutPrimitive.ARGS);
primitives.add(PointcutPrimitive.CALL);
primitives.add(PointcutPrimitive.EXECUTION);
primitives.add(PointcutPrimitive.GET);
primitives.add(PointcutPrimitive.HANDLER);
primitives.ad... |
116,755 | Bug 116755 PointcutParser is not configurable | I'm testing the reflection and weaver tools APIs. When I using following code: PointcutParser parse = new PointcutParser(); String expr = "call(public * main.hello(..)"; PointcutExpression pex = parse.parsePointcutExpression(expr); Whenever I use a full qualified class name in pointcut expression, an exception is throw... | resolved fixed | 522911e | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-19T17:08:48Z | 2005-11-17T01:13:20Z | weaver/src/org/aspectj/weaver/tools/PointcutParser.java | * <li>Pointcut expressions must be self-contained :- they cannot contain references
* to other named pointcuts
* <li>The pointcut expression must be anonymous with no formals allowed.
* </ul>
*/
public PointcutParser() {
supportedPrimitives = getAllSupportedPointcutPrimitives();
}
... |
116,755 | Bug 116755 PointcutParser is not configurable | I'm testing the reflection and weaver tools APIs. When I using following code: PointcutParser parse = new PointcutParser(); String expr = "call(public * main.hello(..)"; PointcutExpression pex = parse.parsePointcutExpression(expr); Whenever I use a full qualified class name in pointcut expression, an exception is throw... | resolved fixed | 522911e | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-19T17:08:48Z | 2005-11-17T01:13:20Z | weaver/src/org/aspectj/weaver/tools/PointcutParser.java | (element == PointcutPrimitive.CFLOW_BELOW)) {
throw new UnsupportedOperationException("Cannot handle if, cflow, and cflowbelow primitives");
}
}
}
public PointcutParameter createPointcutParameter(String name, Class type) {
return new PointcutParameterImpl(name,type... |
116,755 | Bug 116755 PointcutParser is not configurable | I'm testing the reflection and weaver tools APIs. When I using following code: PointcutParser parse = new PointcutParser(); String expr = "call(public * main.hello(..)"; PointcutExpression pex = parse.parsePointcutExpression(expr); Whenever I use a full qualified class name in pointcut expression, an exception is throw... | resolved fixed | 522911e | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-19T17:08:48Z | 2005-11-17T01:13:20Z | weaver/src/org/aspectj/weaver/tools/PointcutParser.java | * @throws UnsupportedPointcutPrimitiveException if the parser encounters a
* primitive pointcut expression of a kind not supported by this PointcutParser.
* @throws IllegalArgumentException if the expression is not a well-formed
* pointcut expression
*/
public PointcutExpression parsePointcutE... |
116,755 | Bug 116755 PointcutParser is not configurable | I'm testing the reflection and weaver tools APIs. When I using following code: PointcutParser parse = new PointcutParser(); String expr = "call(public * main.hello(..)"; PointcutExpression pex = parse.parsePointcutExpression(expr); Whenever I use a full qualified class name in pointcut expression, an exception is throw... | resolved fixed | 522911e | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-19T17:08:48Z | 2005-11-17T01:13:20Z | weaver/src/org/aspectj/weaver/tools/PointcutParser.java | throw new IllegalArgumentException(buildUserMessageFromParserException(expression,pEx));
} catch (ReflectionWorld.ReflectionWorldException rwEx) {
throw new IllegalArgumentException(rwEx.getMessage());
}
return pcExpr;
}
Set getSupportedPrimitives() {
return s... |
116,755 | Bug 116755 PointcutParser is not configurable | I'm testing the reflection and weaver tools APIs. When I using following code: PointcutParser parse = new PointcutParser(); String expr = "call(public * main.hello(..)"; PointcutExpression pex = parse.parsePointcutExpression(expr); Whenever I use a full qualified class name in pointcut expression, an exception is throw... | resolved fixed | 522911e | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-19T17:08:48Z | 2005-11-17T01:13:20Z | weaver/src/org/aspectj/weaver/tools/PointcutParser.java | public ISourceLocation makeSourceLocation(IHasPosition position) {
return new SourceLocation(new File(""),0);
}
public ISourceLocation makeSourceLocation(int line, int offset) {
return new SourceLocation(new File(""),line);
}
public int getOffset() {
return 0;
... |
116,755 | Bug 116755 PointcutParser is not configurable | I'm testing the reflection and weaver tools APIs. When I using following code: PointcutParser parse = new PointcutParser(); String expr = "call(public * main.hello(..)"; PointcutExpression pex = parse.parsePointcutExpression(expr); Whenever I use a full qualified class name in pointcut expression, an exception is throw... | resolved fixed | 522911e | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-19T17:08:48Z | 2005-11-17T01:13:20Z | weaver/src/org/aspectj/weaver/tools/PointcutParser.java | }
case Pointcut.HANDLER:
if (!supportedPrimitives.contains(PointcutPrimitive.HANDLER))
throw new UnsupportedPointcutPrimitiveException(expression, PointcutPrimitive.HANDLER);
break;
case Pointcut.IF:
case Pointcut.IF_FALSE:
case Pointcut.IF_... |
116,755 | Bug 116755 PointcutParser is not configurable | I'm testing the reflection and weaver tools APIs. When I using following code: PointcutParser parse = new PointcutParser(); String expr = "call(public * main.hello(..)"; PointcutExpression pex = parse.parsePointcutExpression(expr); Whenever I use a full qualified class name in pointcut expression, an exception is throw... | resolved fixed | 522911e | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-19T17:08:48Z | 2005-11-17T01:13:20Z | weaver/src/org/aspectj/weaver/tools/PointcutParser.java | break;
case Pointcut.WITHINCODE:
if (!supportedPrimitives.contains(PointcutPrimitive.WITHIN_CODE))
throw new UnsupportedPointcutPrimitiveException(expression, PointcutPrimitive.WITHIN_CODE);
break;
case Pointcut.ATTHIS_OR_TARGET:
isThis = ((Th... |
116,755 | Bug 116755 PointcutParser is not configurable | I'm testing the reflection and weaver tools APIs. When I using following code: PointcutParser parse = new PointcutParser(); String expr = "call(public * main.hello(..)"; PointcutExpression pex = parse.parsePointcutExpression(expr); Whenever I use a full qualified class name in pointcut expression, an exception is throw... | resolved fixed | 522911e | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-19T17:08:48Z | 2005-11-17T01:13:20Z | weaver/src/org/aspectj/weaver/tools/PointcutParser.java | if (!supportedPrimitives.contains(PointcutPrimitive.REFERENCE))
throw new UnsupportedPointcutPrimitiveException(expression, PointcutPrimitive.REFERENCE);
break;
case Pointcut.NONE:
default:
throw new IllegalArgumentException("Unknown pointcut kind... |
116,755 | Bug 116755 PointcutParser is not configurable | I'm testing the reflection and weaver tools APIs. When I using following code: PointcutParser parse = new PointcutParser(); String expr = "call(public * main.hello(..)"; PointcutExpression pex = parse.parsePointcutExpression(expr); Whenever I use a full qualified class name in pointcut expression, an exception is throw... | resolved fixed | 522911e | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-19T17:08:48Z | 2005-11-17T01:13:20Z | weaver/src/org/aspectj/weaver/tools/PointcutParser.java | if (!supportedPrimitives.contains(PointcutPrimitive.PRE_INITIALIZATION))
throw new UnsupportedPointcutPrimitiveException(expression, PointcutPrimitive.PRE_INITIALIZATION);
} else if (kind == Shadow.StaticInitialization) {
if (!supportedPrimitives.contains(PointcutPrimitive.STAT... |
116,755 | Bug 116755 PointcutParser is not configurable | I'm testing the reflection and weaver tools APIs. When I using following code: PointcutParser parse = new PointcutParser(); String expr = "call(public * main.hello(..)"; PointcutExpression pex = parse.parsePointcutExpression(expr); Whenever I use a full qualified class name in pointcut expression, an exception is throw... | resolved fixed | 522911e | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-19T17:08:48Z | 2005-11-17T01:13:20Z | weaver/testsrc/org/aspectj/weaver/tools/PointcutParserTest.java | /* *******************************************************************
* Copyright (c) 2004 IBM Corporation.
* All rights reserved.
* This program and the accompanying materials are made available
* under the terms of the Common Public License v1.0
* which accompanies this distribution and is available at
* h... |
116,755 | Bug 116755 PointcutParser is not configurable | I'm testing the reflection and weaver tools APIs. When I using following code: PointcutParser parse = new PointcutParser(); String expr = "call(public * main.hello(..)"; PointcutExpression pex = parse.parsePointcutExpression(expr); Whenever I use a full qualified class name in pointcut expression, an exception is throw... | resolved fixed | 522911e | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-19T17:08:48Z | 2005-11-17T01:13:20Z | weaver/testsrc/org/aspectj/weaver/tools/PointcutParserTest.java | public void testGetAllSupportedPointcutPrimitives() {
Set s = PointcutParser.getAllSupportedPointcutPrimitives();
assertEquals("Should be 21 elements in the set",21,s.size());
assertFalse("Should not contain if pcd",s.contains(PointcutPrimitive.IF));
assertFalse("Should not contain cflow pcd",s.contains(Pointcu... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.