Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature: TypeFactory LIST, SET, MAP, ... constant type references #1660

Merged
merged 1 commit into from
Oct 27, 2017

Conversation

pvojtechovsky
Copy link
Collaborator

I often needs CtTypeReferences of List, Set, Map, ... may be they might be available as constansts?

WDYT?

@spoon-bot
Copy link
Collaborator

Revapi Analysis results

Old API: fr.inria.gforge.spoon:spoon-core:jar:6.0.0-20171027.194011-115

New API: fr.inria.gforge.spoon:spoon-core:jar:6.0.0-SNAPSHOT

Detected changes: 5.

Change 1

Name Element
Old method java.util.ArrayList org.eclipse.jdt.internal.compiler.batch.Main::handleBootclasspath(java.util.ArrayList, java.lang.String) @ spoon.support.compiler.jdt.JDTBatchCompiler
New method java.util.ArrayList<org.eclipse.jdt.internal.compiler.batch.FileSystem.Classpath> org.eclipse.jdt.internal.compiler.batch.Main::handleBootclasspath(java.util.ArrayList<java.lang.String>, java.lang.String) @ spoon.support.compiler.jdt.JDTBatchCompiler
Code java.method.returnTypeTypeParametersChanged
Description The return type changed from 'java.util.ArrayList' to 'java.util.ArrayList<org.eclipse.jdt.internal.compiler.batch.FileSystem.Classpath>'.
Breaking binary: non_breaking,

Change 2

Name Element
Old method java.util.ArrayList org.eclipse.jdt.internal.compiler.batch.Main::handleClasspath(java.util.ArrayList, java.lang.String) @ spoon.support.compiler.jdt.JDTBatchCompiler
New method java.util.ArrayList<org.eclipse.jdt.internal.compiler.batch.FileSystem.Classpath> org.eclipse.jdt.internal.compiler.batch.Main::handleClasspath(java.util.ArrayList<java.lang.String>, java.lang.String) @ spoon.support.compiler.jdt.JDTBatchCompiler
Code java.method.returnTypeTypeParametersChanged
Description The return type changed from 'java.util.ArrayList' to 'java.util.ArrayList<org.eclipse.jdt.internal.compiler.batch.FileSystem.Classpath>'.
Breaking binary: non_breaking,

Change 3

Name Element
Old method java.util.ArrayList org.eclipse.jdt.internal.compiler.batch.Main::handleEndorseddirs(java.util.ArrayList) @ spoon.support.compiler.jdt.JDTBatchCompiler
New method java.util.ArrayList<org.eclipse.jdt.internal.compiler.batch.FileSystem.Classpath> org.eclipse.jdt.internal.compiler.batch.Main::handleEndorseddirs(java.util.ArrayList<java.lang.String>) @ spoon.support.compiler.jdt.JDTBatchCompiler
Code java.method.returnTypeTypeParametersChanged
Description The return type changed from 'java.util.ArrayList' to 'java.util.ArrayList<org.eclipse.jdt.internal.compiler.batch.FileSystem.Classpath>'.
Breaking binary: non_breaking,

Change 4

Name Element
Old method java.util.ArrayList org.eclipse.jdt.internal.compiler.batch.Main::handleExtdirs(java.util.ArrayList) @ spoon.support.compiler.jdt.JDTBatchCompiler
New method java.util.ArrayList<org.eclipse.jdt.internal.compiler.batch.FileSystem.Classpath> org.eclipse.jdt.internal.compiler.batch.Main::handleExtdirs(java.util.ArrayList<java.lang.String>) @ spoon.support.compiler.jdt.JDTBatchCompiler
Code java.method.returnTypeTypeParametersChanged
Description The return type changed from 'java.util.ArrayList' to 'java.util.ArrayList<org.eclipse.jdt.internal.compiler.batch.FileSystem.Classpath>'.
Breaking binary: non_breaking,

Change 5

Name Element
Old method void org.eclipse.jdt.internal.compiler.batch.Main::setPaths(java.util.ArrayList, java.lang.String, java.util.ArrayList, java.util.ArrayList, java.util.ArrayList, java.util.ArrayList, java.lang.String) @ spoon.support.compiler.jdt.JDTBatchCompiler
New method void org.eclipse.jdt.internal.compiler.batch.Main::setPaths(java.util.ArrayList<java.lang.String>, java.lang.String, java.util.ArrayList<java.lang.String>, java.util.ArrayList<java.lang.String>, java.lang.String, java.lang.String, java.util.ArrayList<java.lang.String>, java.util.ArrayList<java.lang.String>, java.lang.String) @ spoon.support.compiler.jdt.JDTBatchCompiler
Code java.method.numberOfParametersChanged
Description The number of parameters of the method have changed.
Breaking binary: breaking,

@pvojtechovsky
Copy link
Collaborator Author

@surli CI must be ill... this small PR cannot produce such REVAPI problems...

@monperrus monperrus merged commit 24cb93b into INRIA:master Oct 27, 2017
@pvojtechovsky pvojtechovsky deleted the feaTypeCollection branch October 28, 2017 07:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants