-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #19 from Saxonica/iss-16-18
Fix a bug in param handling, fix the type equality testing
- Loading branch information
Showing
12 changed files
with
261 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
docletVersion=0.11.0 | ||
schemaVersion=0.11.0 | ||
docletVersion=0.12.0 | ||
schemaVersion=0.12.0 | ||
docletTitle=XmlDoclet | ||
docletName=xmldoclet |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,17 @@ | ||
package org.example; | ||
|
||
import java.util.List; | ||
|
||
abstract public class Impl implements InterfaceAB, InterfaceA { | ||
/** | ||
* The Impl impl. | ||
* @param target target | ||
* @param space search space | ||
* @return location | ||
*/ | ||
@Override | ||
public int find(String target, List<String> space) { | ||
return -1; | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
package org.example; | ||
|
||
import java.util.List; | ||
|
||
abstract public class Impl2 extends Impl { | ||
/** | ||
* The Impl2 impl. | ||
* @param target target | ||
* @param space search space | ||
* @return location | ||
*/ | ||
@Override | ||
public int find(String target, List<String> space) { | ||
return 0; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,8 @@ | ||
package org.example; | ||
|
||
import java.util.List; | ||
|
||
public interface InterfaceA { | ||
void a(); | ||
public int find(String target, List<String> space); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,26 @@ | ||
package org.example; | ||
|
||
public class ParameterizedClass<T> { | ||
/** | ||
* Something about this class | ||
* @param <T> whatever a T is | ||
* @param <U> whatever a U is | ||
*/ | ||
public class ParameterizedClass<T,U> { | ||
private T[] _value; | ||
public T get(int key) { | ||
private U[] _value2; | ||
public T getT(int key) { | ||
return _value[key]; | ||
} | ||
public U getU(int key) { | ||
return _value2[key]; | ||
} | ||
|
||
/** | ||
* A test of a method with parametric types. | ||
* @param value the value | ||
* @param <V> the type | ||
*/ | ||
public <V> void setV(ParameterizedClass<V,Boolean> value) { | ||
// nop | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters