Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 20113 Details for
Bug 92048
matching annotation on method params doesn't work with type parameters
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
extracted test case
Test2.java (text/plain), 477 bytes, created by
Michal Stochmialek
on 2005-04-20 06:06:39 EDT
(
hide
)
Description:
extracted test case
Filename:
MIME Type:
Creator:
Michal Stochmialek
Created:
2005-04-20 06:06:39 EDT
Size:
477 bytes
patch
obsolete
>import java.lang.annotation.*; >import java.util.*; > >@Target(ElementType.TYPE) >@interface Ann {} > >@Ann >class AClass{} > > >public class Test2 { > void abc(AClass y) {} > <T> void par(T y) {} > > public static void main(String[] args) { > Test2 test = new Test2(); > test.abc(new AClass()); > test.par(new AClass()); > > Set set = new HashSet(); > set.add(new AClass()); > } >} > > >aspect Annotations { > before() : call(* *(@Ann *)) { > System.out.println("Before: " + thisJoinPoint); > } >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 92048
: 20113