codemodels-java 0.2.1-java → 0.2.2-java

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b06ac029279927c74e5175f4f4b668a5fdb8134a
4
- data.tar.gz: 0bab5abbae5b8f7a930485abbcd98f780a66fd7a
3
+ metadata.gz: 31a15ac6915f4606228bd5c71b16db52a8c76e2d
4
+ data.tar.gz: abba91768adbb3ffec11bbcb4c12df97558ca11e
5
5
  SHA512:
6
- metadata.gz: f2d88bbe3cdf97388ce6fff2cb470a56f8b76ec1027e2a5218888b2bb92e1f826882d16a7766adf7cf34b2b9fcc4bb3e22ff96af442eb15445557df1f594afae
7
- data.tar.gz: 4574567f38bdd8d620e7802b16eb5239bd2f13224d031d5c3df008038c3454bd86a4ade0c7a6ba3a4f50ac24d5c6e5a951051fdb4607c897b0c1eca7ca4202a0
6
+ metadata.gz: 26852d2660ab842a16059597999b7f5aebbfd916196e92dee8e6735ffc8ceb2172a30595b9b8894b3ef41ef3a9daefd2ebed1ffb387f2690a685b786332feba9
7
+ data.tar.gz: bef037187cf2af190dc465b9420dde9b87ba5f3a22ccf2fc1704b4d941b9e07a15dcdde1c78d8cf12d535a6296affd45776724ae8c86ae1266ce774999164584
@@ -35,7 +35,7 @@ module Java
35
35
  c = Class.new(super_class)
36
36
  raise "Already mapped! #{ast_name}" if MappedAstClasses[java_class]
37
37
  MappedAstClasses[java_class] = c
38
- Java.const_set CodeModels::Javaparserwrapper::Utils.simple_java_class_name(ast_class), c
38
+ Java.const_set CodeModels::JavaParserWrapper::Utils.simple_java_class_name(ast_class), c
39
39
  end
40
40
 
41
41
  # then add all the properties and attributes
@@ -4,13 +4,13 @@ require 'codemodels/javaparserwrapper'
4
4
  module CodeModels
5
5
  module Java
6
6
 
7
- class Parser < CodeModels::Javaparserwrapper::ParserJavaWrapper
7
+ class Parser < CodeModels::JavaParserWrapper::ParserJavaWrapper
8
8
 
9
- class MyBasicTransformationFactory < CodeModels::Javaparserwrapper::BasicTransformationFactory
9
+ class MyBasicTransformationFactory < CodeModels::JavaParserWrapper::BasicTransformationFactory
10
10
 
11
11
  def get_corresponding_class(node)
12
12
  node_class = node.class
13
- name = CodeModels::Javaparserwrapper::Utils.simple_java_class_name(node_class)
13
+ name = CodeModels::JavaParserWrapper::Utils.simple_java_class_name(node_class)
14
14
  name = "#{(node.operator.name).proper_capitalize}BinaryExpr" if name=='BinaryExpr'
15
15
  if node.class.to_s=='Java::JapaParserAstBody::MethodDeclaration'
16
16
  if node.parent.class.to_s=='Java::JapaParserAstExpr::ObjectCreationExpr'
@@ -87,7 +87,7 @@ class Parser < CodeModels::Javaparserwrapper::ParserJavaWrapper
87
87
 
88
88
  def get_corresponding_metaclass(node)
89
89
  node_class = node.class
90
- name = CodeModels::Javaparserwrapper::Utils.simple_java_class_name(node_class)
90
+ name = CodeModels::JavaParserWrapper::Utils.simple_java_class_name(node_class)
91
91
  name = "#{(node.operator.name).proper_capitalize}BinaryExpr" if name=='BinaryExpr'
92
92
  if node.class.to_s=='Java::JapaParserAstBody::MethodDeclaration'
93
93
  if node.parent.class.to_s=='Java::JapaParserAstExpr::ObjectCreationExpr'
@@ -0,0 +1,6 @@
1
+ # encoding: UTF-8
2
+ module CodeModels
3
+ module Java
4
+ VERSION = "0.2.2"
5
+ end
6
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: codemodels-java
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: java
6
6
  authors:
7
7
  - Federico Tomassetti
@@ -127,6 +127,7 @@ files:
127
127
  - lib/codemodels/java/metamodel.rb
128
128
  - lib/codemodels/java/model_building.rb
129
129
  - lib/codemodels/java/parser.rb
130
+ - lib/codemodels/java/version.rb
130
131
  - lib/jars/javaparser-1.0.8.jar
131
132
  - test/data/ActionButtonsColumnTag.java
132
133
  - test/data/AuthConstraint.java