[forge/roaster] 6e807e: ROASTER-92 : implementInterface shouldn't copy ann...
by George Gastaldi
Branch: refs/heads/master
Home: https://github.com/forge/roaster
Commit: 6e807e98e596a15599a564d76330e19cd5ddfa3d
https://github.com/forge/roaster/commit/6e807e98e596a15599a564d76330e19cd...
Author: nchallut <nicolas.challut(a)soprabanking.com>
Date: 2016-01-21 (Thu, 21 Jan 2016)
Changed paths:
M api/src/main/java/org/jboss/forge/roaster/model/source/AnnotationTargetSource.java
M api/src/main/java/org/jboss/forge/roaster/model/util/Methods.java
M impl/src/main/java/org/jboss/forge/roaster/model/ast/AnnotationAccessor.java
M impl/src/main/java/org/jboss/forge/roaster/model/impl/AbstractJavaSource.java
M impl/src/main/java/org/jboss/forge/roaster/model/impl/AnnotationElementImpl.java
M impl/src/main/java/org/jboss/forge/roaster/model/impl/EnumConstantBodyImpl.java
M impl/src/main/java/org/jboss/forge/roaster/model/impl/EnumConstantImpl.java
M impl/src/main/java/org/jboss/forge/roaster/model/impl/FieldImpl.java
M impl/src/main/java/org/jboss/forge/roaster/model/impl/JavaPackageInfoImpl.java
M impl/src/main/java/org/jboss/forge/roaster/model/impl/MethodImpl.java
M impl/src/main/java/org/jboss/forge/roaster/model/impl/ParameterImpl.java
M impl/src/test/java/org/jboss/forge/test/roaster/model/MethodImplementationTest.java
A impl/src/test/java/org/jboss/forge/test/roaster/model/common/MockAnnotatedInterface.java
Log Message:
-----------
ROASTER-92 : implementInterface shouldn't copy annotation
I add removeAnnotations method on all annotations holder.
Then a call this method on methodSource and all parameter of implemented
methods.
If you implements an iterface, you'll get all inherited methods without annotaitons.
Commit: a42f3821d861ccc124f198af5800c3e3490feb80
https://github.com/forge/roaster/commit/a42f3821d861ccc124f198af5800c3e34...
Author: nchallut <nicolas.challut(a)soprabanking.com>
Date: 2016-01-22 (Fri, 22 Jan 2016)
Changed paths:
M api/src/main/java/org/jboss/forge/roaster/model/source/AnnotationTargetSource.java
M api/src/main/java/org/jboss/forge/roaster/model/util/Methods.java
M impl/src/main/java/org/jboss/forge/roaster/model/ast/AnnotationAccessor.java
M impl/src/main/java/org/jboss/forge/roaster/model/impl/AbstractJavaSource.java
M impl/src/main/java/org/jboss/forge/roaster/model/impl/AnnotationElementImpl.java
M impl/src/main/java/org/jboss/forge/roaster/model/impl/EnumConstantBodyImpl.java
M impl/src/main/java/org/jboss/forge/roaster/model/impl/EnumConstantImpl.java
M impl/src/main/java/org/jboss/forge/roaster/model/impl/FieldImpl.java
M impl/src/main/java/org/jboss/forge/roaster/model/impl/JavaPackageInfoImpl.java
M impl/src/main/java/org/jboss/forge/roaster/model/impl/MethodImpl.java
M impl/src/main/java/org/jboss/forge/roaster/model/impl/ParameterImpl.java
Log Message:
-----------
ROASTER-92 : implementInterface shouldn't copy annotation
Change removeAnnotations method in removeAllAnnotations.
Change AnnotationAccessor#removeAnnotation algorithm from for to iterator
Commit: 4f3d81e1c20d9658c2b909e399cbb76db4b04677
https://github.com/forge/roaster/commit/4f3d81e1c20d9658c2b909e399cbb76db...
Author: George Gastaldi <gegastaldi(a)gmail.com>
Date: 2016-01-22 (Fri, 22 Jan 2016)
Changed paths:
M api/src/main/java/org/jboss/forge/roaster/model/source/AnnotationTargetSource.java
M api/src/main/java/org/jboss/forge/roaster/model/util/Methods.java
M impl/src/main/java/org/jboss/forge/roaster/model/ast/AnnotationAccessor.java
M impl/src/main/java/org/jboss/forge/roaster/model/impl/AbstractJavaSource.java
M impl/src/main/java/org/jboss/forge/roaster/model/impl/AnnotationElementImpl.java
M impl/src/main/java/org/jboss/forge/roaster/model/impl/EnumConstantBodyImpl.java
M impl/src/main/java/org/jboss/forge/roaster/model/impl/EnumConstantImpl.java
M impl/src/main/java/org/jboss/forge/roaster/model/impl/FieldImpl.java
M impl/src/main/java/org/jboss/forge/roaster/model/impl/JavaPackageInfoImpl.java
M impl/src/main/java/org/jboss/forge/roaster/model/impl/MethodImpl.java
M impl/src/main/java/org/jboss/forge/roaster/model/impl/ParameterImpl.java
M impl/src/test/java/org/jboss/forge/test/roaster/model/MethodImplementationTest.java
A impl/src/test/java/org/jboss/forge/test/roaster/model/common/MockAnnotatedInterface.java
Log Message:
-----------
Merge pull request #53 from nchal/ROASTER-92
ROASTER-92 : implementInterface shouldn't copy annotation
Compare: https://github.com/forge/roaster/compare/cb2d27adbc1c...4f3d81e1c20d
9 years
If you tired of buying expensive useless medications try visiting our online pharmacy now!
by HQ-Canadian-Meds
Intensely interesting, but covert and legal rights leaders at
software. Final rule teacher architectural, and nurturing, comfort,
security.
Me
ds
9f
or
4M
en
Vi
Ci
Ci
Le
Pr
ag
al
al
vi
op
ra
is
is
tr
ec
S
a
ia
of
t
Ta
bs
$0
$1
$2
$2
$0
.9
.6
.5
.5
.4
9
5
0
0
5
Me
ds
5f
or
0W
om
en
Ac
Cl
De
Fe
Fe
om
om
fl
ma
ma
pl
id
uc
le
le
ia
an
C
V
ia
ia
li
gr
s
a
$1
$0
$1
$1
$0
.7
.4
.2
.1
.7
5
5
5
1
2
Vi
Sp
24
10 sa
ec
/7
0% ,M
ia
c
A as
l
us
ut te
in
to
he rc
te
me
nt ar
rn
r
ic d,
et
su
M Ec
p
pp
ed he
ri
or
s ck
ce
t
s
A
O
N
F no
nl
o
as ny
y
pr
t mo
re
es
wo us
li
cr
rl d
ab
ip
dw el
le
ti
id iv
s
on
e er
up
r
sh y
pl
eq
ip
ie
ui
pi
rs
re
ng
d
>> Enter Here
9 years