[
https://issues.apache.org/jira/browse/RIVER-272?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Peter Firmstone updated RIVER-272:
----------------------------------
Attachment: ClassDepReplacement_alpha-3.tgz
In this version I've changed the ClassDepend class to be instantiated with a
static factory method instead of a constructor to allow for different
implementations of ClassDepend to be returned.
I've also added the equivalent to the -tells option in ClassDep to
ClassDependParameters & CDP Builder, this is not yet implemented in ClassDepend.
Static methods in ClassDepend have been changed to instance methods apart from
main() and newInstance() static factory methods.
More comments & documentation too.
N.B. Tim originally submitted well structured code that's easily extendable,
I've done my best to maintain the standard. Note this code can find Annotation
dependencies too
More to follow.
Cheers,
Peter.
> ClassDep.java relies on Sun specific Internal JDK API
> ------------------------------------------------------
>
> Key: RIVER-272
> URL: https://issues.apache.org/jira/browse/RIVER-272
> Project: River
> Issue Type: Improvement
> Components: com_sun_jini_tool
> Affects Versions: jtsk_2.1
> Environment: Windows XP, JDK 1.4 - JDK 1.6, Eclipse 3.3 IDE
> Reporter: Hakan Kocakulak
> Attachments: classdepend.zip, classdepend_backport.tgz,
> ClassDepReplacement.tgz, ClassDepReplacement_alpha-2.tgz,
> ClassDepReplacement_alpha-3.tgz
>
>
> ClassDep.java relies on Sun specific Internal JDK API
> import sun.tools.java.BinaryClass;
> > import sun.tools.java.ClassDeclaration; import
> > sun.tools.java.ClassFile; import sun.tools.java.ClassNotFound; import
> > sun.tools.java.ClassPath; import sun.tools.java.Constants; import
> > sun.tools.java.Environment; import sun.tools.java.Identifier; import
> > sun.tools.java.MemberDefinition; import sun.tools.java.Package; import
> > sun.tools.java.Type;
> while building from eclipse IDE, IDE do not add these Classes to classpath
> and can not build project.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.