Вы находитесь на странице: 1из 16

2019

JAVA FETURES
IMFROMATION
▰ Java is the programming language.
▰ That is class-based and object-oriented.
▰ Java is one type of the WORA ( Write once run anywhere).
▰ Java is run on any platform with the help of the JVM (Java
Virtual Machine).
▰ Java uses the spring, blade as a backend platform.
▰ Java is the very popular language and their popularity behind
reason is the Platform-independent and java eliminates a lot
of security issues.

2
Smart Maven
Selection/Semantic
improvements
API support

Extract to Gradle
field preferences

JAVA
FEATURES
New refactor 2019 Checkstzle
feature support

3
NEW REFRACTOR
▰ Refactoring is the one type of the
process which changes only the
structure of the existing program
without affecting its functionality and
usages.
▰ Refactoring is also improving the code
reusability, performance and remove
duplicate functionality and also remove
the functionality which is not used.
▰ SYNTAX:- Trigger rename after extract
to variable/constant/method
▰ Here you can take the special “rename”
action. And use the meaningful name.
See in this image.
4
PROCESS OF REFACTORING
Characterize the
Detect Problem Design Solution Modify the code
Problem

What is the
change What should Carry out the
Is there problem
necessary? and “Goal state” Code
or not?
what’s the code? transformations
benefit after the and leave the
changes? code
And if the Which code functioning as
problem then Check that there transformations same the
check what’s the are the any will move before.
problem. risks? towards?

5
CHANGE IN XAMPLES
Rename

Move Class

Extract Method

Extract Super class

Replace Conditional with Polymorphism


6
EXTRACT TO FIELD
• The main reason for the use Extract variables is to make a complex
expression is more understandable.
• The Extract Method refactoring lets you use a code fragment.
• That can be arranged, separate method and also old code with a call
to the method.
• There are use the several time extract method in the same place.
• When you use Extract method there are you need to check for
variables.
• One output variable can be used as a return value for the extracted
method.
• Multiple output variables the extract methods refactoring may not be
applied and the error message resembles.

7
SMART / SEMANTIC
SELECTION API SUPPORT
• Semantic selection is also known as smart selection.
• We have achieved the smart select API used with the
Expand Selection (Shift+Alt+Right) and Shrink Selection
(Shift+Alt+Left) commands.
• Here get the more information about that.
• https://code.visualstudio.com/updates/v1_33#_smart-
select-api

8
CONTINUE

9
MAVEN IMPROVEMENTS
• Maven was released in 2004.
• It has raised a few of the problem of ANT.
• Maven is use the XML as the format write build script.
• It has the drawback is that Dependencies management does
not handle conflicts well between different version of the
same library.
• And other draw back is that customization of the goal is too
much hard.

10
GRADLE PREFERENCES
• Gradle was released in 2012.
• Google adopted the Gradle as a default build
tool for the Android.
• Maven use the XML where as Gradle does not
use the XML.
• It has own DSL based on JVM languages.
• Gradle used Apache lvy for its dependency
management.

11
COMPARISION GRAPH FOR THE
MAVEN & GRADLE

12
CHECKSTZLE SUPPORT
• Check style is Java web development tool and it helps to
programmers write java code.
• It has the main features is that checkstyle can check the many
aspects of your source code.
• Standard checkstyle are applicable to general java coding style and
require no external libraries.

13
CONCLUSION
• So here present the features of the Java
Development in 2019.
• Day by day java is also released new features and
versions also.
• It make more simple and fulfill all the requirements of
the developers.
• And developers have always updated with the java.

14
AEGIS SOFTTECH
OFFSHORE SOFTWARE DEVELOPMENT
COMPANY

You can find at:


www.aegissofttech.com
info@aegissofttech.com
@AegisSofttech

15
THANKS!
16

Вам также может понравиться