Java/Android project documentation generation [closed] - java

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
Improve this question
I've got a rather large android project and I faced a need to create and manage some project description and documentation.
The areas that I want to describe is the big modules, logical parts of the project. Each module contains of a set of classes (lets say 10-20) which are not necessary are located in the same package.
Each module, in my idea, should have some text description of its core idea, use patterns and behaviour, plus the description of the classes, that are linked to that module.
I want to have a separate file with each module's description, and to link the classes, that are parts of a module to this module, fetch their description, create uml diagram and construct an html document, that is then uploaded to a server.
All this system should be integrated with git, the user should be able to check each branch's documentation.
Could you suggest some tools that are useful in achieving these goals?

Really good tool for this is the doxygen library. Here is the web-site: http://www.doxygen.nl/

Related

how do I check java code duplications from files [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 2 years ago.
Improve this question
I am going through a project where I have to check the plagiarism between two files.In two files there have some java code.That means if there are two files named a.java and b.java and in two files have some java code which was written in .java class and I have to check the duplicacy in percantage between the java code which was written the two files.
can anyone tell me how can I solve this problem?I am a beginner.
There are several ways to do so, but in general, you have to use third party service.
Example Solution 1:
Install plugin to your IDE. For example, if you are using Eclipse, PMD supports duplicated code checking.
Example Solution 2:
If you are using version control system like GitHub, you can add plugins to your repository and it will do the check for you. For instance, you can use plugin named Codacy. It is an automatic testing tool used in CI/CD, which supports duplicated code checking.

Is there any visual tool for writing Java classes in Bytecode for Eclipse or IntelliJ? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
Improve this question
I'm not asking for an opinion here - just a fact: is there a plugin, tool, or technique that lets me write classes or at least method bodies directly in bytecode in Java in either Eclipse or IntelliJ, and what is it? I'm not looking for runtime codegen, I want this at compile time.
I found one here: https://plugins.jetbrains.com/plugin/8461-bytecode-editor but there is no download link and I have no idea how to build it (I tried, I really did). But it's basically everything I want.
In .NET I use the excellent IL Support plugin for this, but I haven't found a similar solution for Java.
There is a download link on that page but you don't need to download it directly so that doesn't matter. IntelliJ provides a plugin installer In Settings>Plugins. At the botttom of the Plugins page is a button to 'Browse repositories'

Where to find documentation on Android Studio external libraries? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
Improve this question
I apologize if this question is too broad. I am looking to implement the external library Floating Action Button for my Android Studio project, but I am unable to find the documentation for the methods in Java that I should be using to implement its functionality, such as expanding the FAB into several other FABs, as shown in the Screenshot portion of the link.
I have already added the dependency to my gradle and com.github.clans.fab.FloatingActionButton header to my XML layout file.
The reason I am asking is because I've come across several libraries on Github that have minimal descriptions and no documentation. How does someone learn the methods and classes for external libraries like this without them? There must be something I am misunderstanding here.
How does someone learn the methods and classes for external libraries like this without them?
Review the source code of the sample app.
Or, review the source code of the library.
Or, search for com.github.clans.fab on your favorite search engine to see if anyone has a blog post or other sort of article on the library.

How to find out UML associations from source code with Java reflection [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I'm working on a project that will be used to generate class diagrams from Java code. The tool takes jar-files as input and outputs Graphviz dot format files as output.
I know it's simple to find out inheritance and interface implementations using Java reflection with Class#getSuperclass and Class#getInterfaces. But I'm struggling to find out associations, compositions and dependencies. Can it be done with reflection or is there some external library that would help? Any example code you might be able to provide would be of great help.
Associations and compositions can be inferred from class fields, so Class#getDeclaredFields.
For dependencies you'd have to look at the code to see what classes might be used as variables, which you can't do using reflection. For that, you'd have to look at the bytecode of the .class files in the jar files, using a library such as Apache Commons BCEL.

UML tool for reverse engineering a Java Project [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I am currently working on a Java project with "IBM Rational Software Architect"(Licensed Version) as an IDE .My task is to understand the code flow and need to prepare Technical Document as the project is very big (a lot of codes, classes, packages, etc) and undocumented. Since, the project is written in Java, my idea was to reverse engineer this project to see its architecture in UML. Do suggest me any open source software/ plugin that suits my IDE and can complete the task very easily?
I googled and found many useful Tools for Eclipse IDE but not for IBM Rational Software Architect.
Thanks for your answer !!
StarUML is a good open source tool, I think it have what you desire.
You should consider stand-alone products. For generating sequence diagrams and jar dependencies dynamically try jSonde
Static code analysis will suit for class diagrams - any modern IDE (like IntelliJ IDEA) can generate it
You can try "Modelio" which is Open Source and can reverse and generate class diagram.

Categories

Resources