Skip to content

Commit

Permalink
[NEW] Added cache system for the ExpressionNode instances; [NEW]
Browse files Browse the repository at this point in the history
PathExpression now implements the Iterable interface; [NEW] Added
support for static nodes in the ExpressionNode and PathExpression class.
[NEW] Added the getFirstNode, getLastNode, getNodes, getNodesAmount,
iterator, listIterator, spliterator and stream methods in the
PathExpression class; [NEW] Added the moveForward, moveBackward, subPath
methods in the PathExpression class, for gets a path expression with a
nodes amount reduced; [NEW] Added JUnit tests.
[CHANGED] Renamed the "getClassWrapper" methods to "wrap" in the
ClassWrapper; [CHANGED] Changed the ExpressionNode interface to an
abstract class; [CHANGED] Changed the getName implementation of the
ExpressionNode class; [CHANGED] Changed the cache initial  size of
ExpressionNode and PathExpression to 50; [BUGFIX] Added a if that checks
if the array is null, in the get/setValue of the ArrayNode class.
  • Loading branch information
ThomasSousa96 committed Oct 22, 2017
1 parent 4921af9 commit 9adff5a
Show file tree
Hide file tree
Showing 48 changed files with 2,855 additions and 654 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Add this dependency in your pom.xml file:
<dependency>
<groupId>com.infinityrefactoring</groupId>
<artifactId>8R-reflections</artifactId>
<version>1.0</version>
<version>1.5.0</version>
</dependency>
```
## Use example:
Expand Down
8 changes: 4 additions & 4 deletions docs/allclasses-frame.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_131) on Sat Oct 14 03:57:35 BRT 2017 -->
<!-- Generated by javadoc (1.8.0_131) on Sun Oct 22 14:23:13 BRT 2017 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>All Classes (Reflections 1.0 API)</title>
<meta name="date" content="2017-10-14">
<title>All Classes (Reflections 1.5.0 API)</title>
<meta name="date" content="2017-10-22">
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
<script type="text/javascript" src="script.js"></script>
</head>
Expand All @@ -16,7 +16,7 @@ <h1 class="bar">All&nbsp;Classes</h1>
<li><a href="com/infinityrefactoring/reflections/ArrayNode.html" title="class in com.infinityrefactoring.reflections" target="classFrame">ArrayNode</a></li>
<li><a href="com/infinityrefactoring/reflections/ClassWrapper.html" title="class in com.infinityrefactoring.reflections" target="classFrame">ClassWrapper</a></li>
<li><a href="com/infinityrefactoring/reflections/DelegatedInstanceFactory.html" title="class in com.infinityrefactoring.reflections" target="classFrame">DelegatedInstanceFactory</a></li>
<li><a href="com/infinityrefactoring/reflections/ExpressionNode.html" title="interface in com.infinityrefactoring.reflections" target="classFrame"><span class="interfaceName">ExpressionNode</span></a></li>
<li><a href="com/infinityrefactoring/reflections/ExpressionNode.html" title="class in com.infinityrefactoring.reflections" target="classFrame">ExpressionNode</a></li>
<li><a href="com/infinityrefactoring/reflections/FieldNode.html" title="class in com.infinityrefactoring.reflections" target="classFrame">FieldNode</a></li>
<li><a href="com/infinityrefactoring/reflections/InstanceFactory.html" title="interface in com.infinityrefactoring.reflections" target="classFrame"><span class="interfaceName">InstanceFactory</span></a></li>
<li><a href="com/infinityrefactoring/reflections/MethodNode.html" title="class in com.infinityrefactoring.reflections" target="classFrame">MethodNode</a></li>
Expand Down
8 changes: 4 additions & 4 deletions docs/allclasses-noframe.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_131) on Sat Oct 14 03:57:35 BRT 2017 -->
<!-- Generated by javadoc (1.8.0_131) on Sun Oct 22 14:23:13 BRT 2017 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>All Classes (Reflections 1.0 API)</title>
<meta name="date" content="2017-10-14">
<title>All Classes (Reflections 1.5.0 API)</title>
<meta name="date" content="2017-10-22">
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
<script type="text/javascript" src="script.js"></script>
</head>
Expand All @@ -16,7 +16,7 @@ <h1 class="bar">All&nbsp;Classes</h1>
<li><a href="com/infinityrefactoring/reflections/ArrayNode.html" title="class in com.infinityrefactoring.reflections">ArrayNode</a></li>
<li><a href="com/infinityrefactoring/reflections/ClassWrapper.html" title="class in com.infinityrefactoring.reflections">ClassWrapper</a></li>
<li><a href="com/infinityrefactoring/reflections/DelegatedInstanceFactory.html" title="class in com.infinityrefactoring.reflections">DelegatedInstanceFactory</a></li>
<li><a href="com/infinityrefactoring/reflections/ExpressionNode.html" title="interface in com.infinityrefactoring.reflections"><span class="interfaceName">ExpressionNode</span></a></li>
<li><a href="com/infinityrefactoring/reflections/ExpressionNode.html" title="class in com.infinityrefactoring.reflections">ExpressionNode</a></li>
<li><a href="com/infinityrefactoring/reflections/FieldNode.html" title="class in com.infinityrefactoring.reflections">FieldNode</a></li>
<li><a href="com/infinityrefactoring/reflections/InstanceFactory.html" title="interface in com.infinityrefactoring.reflections"><span class="interfaceName">InstanceFactory</span></a></li>
<li><a href="com/infinityrefactoring/reflections/MethodNode.html" title="class in com.infinityrefactoring.reflections">MethodNode</a></li>
Expand Down
156 changes: 109 additions & 47 deletions docs/com/infinityrefactoring/reflections/ArrayNode.html

Large diffs are not rendered by default.

230 changes: 117 additions & 113 deletions docs/com/infinityrefactoring/reflections/ClassWrapper.html

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,18 @@
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_131) on Sat Oct 14 03:57:35 BRT 2017 -->
<!-- Generated by javadoc (1.8.0_131) on Sun Oct 22 14:23:13 BRT 2017 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>DelegatedInstanceFactory (Reflections 1.0 API)</title>
<meta name="date" content="2017-10-14">
<title>DelegatedInstanceFactory (Reflections 1.5.0 API)</title>
<meta name="date" content="2017-10-22">
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="DelegatedInstanceFactory (Reflections 1.0 API)";
parent.document.title="DelegatedInstanceFactory (Reflections 1.5.0 API)";
}
}
catch(err) {
Expand Down Expand Up @@ -50,7 +50,7 @@
<div class="subNav">
<ul class="navList">
<li><a href="../../../com/infinityrefactoring/reflections/ClassWrapper.html" title="class in com.infinityrefactoring.reflections"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../com/infinityrefactoring/reflections/ExpressionNode.html" title="interface in com.infinityrefactoring.reflections"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
<li><a href="../../../com/infinityrefactoring/reflections/ExpressionNode.html" title="class in com.infinityrefactoring.reflections"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?com/infinityrefactoring/reflections/DelegatedInstanceFactory.html" target="_top">Frames</a></li>
Expand Down Expand Up @@ -508,7 +508,7 @@ <h4>remove</h4>
<div class="subNav">
<ul class="navList">
<li><a href="../../../com/infinityrefactoring/reflections/ClassWrapper.html" title="class in com.infinityrefactoring.reflections"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../com/infinityrefactoring/reflections/ExpressionNode.html" title="interface in com.infinityrefactoring.reflections"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
<li><a href="../../../com/infinityrefactoring/reflections/ExpressionNode.html" title="class in com.infinityrefactoring.reflections"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?com/infinityrefactoring/reflections/DelegatedInstanceFactory.html" target="_top">Frames</a></li>
Expand Down
Loading

0 comments on commit 9adff5a

Please sign in to comment.