Closed GoogleCodeExporter closed 8 years ago
Two additions: 1) Type of this issue should be "enhancement" (Didn't see that
point when adding the issue) 2) If you like I can implement the change
Original comment by reg.goog...@future-invent.de
on 2 Dec 2012 at 3:52
[deleted comment]
agree. submit a patch and I'll apply it. great.
this enhancement is in the context of using http://www.jamopp.org/, as
mentioned in the google-code-reflections
(https://groups.google.com/forum/?fromgroups=#!topic/google-code-reflections/t0m
SJzUXGoA). please provide some details on why would one use that library and
what are the benefits.
Original comment by ronm...@gmail.com
on 22 Dec 2012 at 5:48
In contrast to the classic byte code engineering libraries, JaMoPP parses
directly the Java source (class files are possible too) and creates an Ecore
Metamodel from it. This means you have all the information available that is in
the Java source code.
I created a new meta adapter for reflections that uses JaMoPP to read the meta
information: https://github.com/fuinorg/refmopp
With the attached (Eclipse) patch it's possible to use this adapter out of the
box. If you're interested we could also integrate it directly into reflections.
Original comment by reg.goog...@future-invent.de
on 22 Dec 2012 at 8:54
Attachments:
Of yourse it's also possible to modify the parsed Java source and write it then
back to disk. This way you can do cool things like programmatic source code
refactorings or more standard stuff like source code generation.
Reflections would be used to find the parts in the code you want to do
something with.
Original comment by reg.goog...@future-invent.de
on 22 Dec 2012 at 9:21
Any idea when the patch will be applied?
Original comment by reg.goog...@future-invent.de
on 23 Jun 2013 at 1:51
Pull request for the new GitHub repository is here:
https://github.com/ronmamo/reflections/pull/1
Original comment by reg.goog...@future-invent.de
on 28 Jun 2013 at 7:42
Original comment by ronm...@gmail.com
on 23 Nov 2013 at 12:27
Original issue reported on code.google.com by
reg.goog...@future-invent.de
on 2 Dec 2012 at 2:39