Index
All Classes and Interfaces|All Packages
A
- AddInjectAnnotationToResourceConstructor - Class in com.atlassian.platform.recipes.rest.tov2
-
Recipe will examine the rest resource class files and will add javax.inject.Inject annotation to resource class constructor method Sometimes OSGi fails to create bean of rest resource class with error "NoSuchMethodException: Could not find a suitable constructor" Then adding javax.inject.Inject annotation to rest resource class constructor help OSGi to identify the constructor method.
- AddInjectAnnotationToResourceConstructor() - Constructor for class com.atlassian.platform.recipes.rest.tov2.AddInjectAnnotationToResourceConstructor
- AddInjectAnnotationToResourceConstructor.ResourceClassVisitor - Class in com.atlassian.platform.recipes.rest.tov2
- AddTagToAtlassianPluginXml - Class in com.atlassian.platform.recipes.rest.tov2
-
Recipe will examine the altassian-plugin.xml files and will append the following tag if it detects at least one rest descriptor.
- AddTagToAtlassianPluginXml() - Constructor for class com.atlassian.platform.recipes.rest.tov2.AddTagToAtlassianPluginXml
- ArgumentTypeRefactor - Class in com.atlassian.platform.recipes.model
-
Model that represents a type from and a type to for use within Recipe
- ArgumentTypeRefactor(String, String) - Constructor for class com.atlassian.platform.recipes.model.ArgumentTypeRefactor
C
- ChangeVariableType - Class in com.atlassian.platform.recipes
-
A Visitor that can be utilised within a recipe to achieve 'chained' changes.
- ChangeVariableType(String, ArgumentTypeRefactor, ArgumentTypeRefactor) - Constructor for class com.atlassian.platform.recipes.ChangeVariableType
- com.atlassian.platform.recipes - package com.atlassian.platform.recipes
- com.atlassian.platform.recipes.model - package com.atlassian.platform.recipes.model
- com.atlassian.platform.recipes.rest.tov2 - package com.atlassian.platform.recipes.rest.tov2
G
- getDescription() - Method in class com.atlassian.platform.recipes.MigrateMethodCallChangeArgumentType
- getDescription() - Method in class com.atlassian.platform.recipes.MigrateMethodCallSameArgument
- getDescription() - Method in class com.atlassian.platform.recipes.ReplaceConstructorArgument
- getDescription() - Method in class com.atlassian.platform.recipes.rest.tov2.AddInjectAnnotationToResourceConstructor
- getDescription() - Method in class com.atlassian.platform.recipes.rest.tov2.AddTagToAtlassianPluginXml
- getDescription() - Method in class com.atlassian.platform.recipes.rest.tov2.MigrateCorsModuleDescriptor
- getDisplayName() - Method in class com.atlassian.platform.recipes.MigrateMethodCallChangeArgumentType
- getDisplayName() - Method in class com.atlassian.platform.recipes.MigrateMethodCallSameArgument
- getDisplayName() - Method in class com.atlassian.platform.recipes.ReplaceConstructorArgument
- getDisplayName() - Method in class com.atlassian.platform.recipes.rest.tov2.AddInjectAnnotationToResourceConstructor
- getDisplayName() - Method in class com.atlassian.platform.recipes.rest.tov2.AddTagToAtlassianPluginXml
- getDisplayName() - Method in class com.atlassian.platform.recipes.rest.tov2.MigrateCorsModuleDescriptor
- getFromTypeFullyQualified() - Method in class com.atlassian.platform.recipes.model.ArgumentTypeRefactor
- getInitialValue(ExecutionContext) - Method in class com.atlassian.platform.recipes.rest.tov2.MigrateCorsModuleDescriptor
- getScanner(MigrateCorsModuleDescriptor.ProjectShapeAccumulator) - Method in class com.atlassian.platform.recipes.rest.tov2.MigrateCorsModuleDescriptor
-
First pass is done by the recipe making no changes, but just gathering info and populating into the accumulator.
- getTags() - Method in class com.atlassian.platform.recipes.MigrateMethodCallChangeArgumentType
- getTags() - Method in class com.atlassian.platform.recipes.MigrateMethodCallSameArgument
- getTags() - Method in class com.atlassian.platform.recipes.ReplaceConstructorArgument
- getTo() - Method in class com.atlassian.platform.recipes.model.ArgumentTypeRefactor
- getToSimpleName() - Method in class com.atlassian.platform.recipes.model.ArgumentTypeRefactor
- getToTypeFullyQualified() - Method in class com.atlassian.platform.recipes.model.ArgumentTypeRefactor
- getVisitor() - Method in class com.atlassian.platform.recipes.MigrateMethodCallChangeArgumentType
- getVisitor() - Method in class com.atlassian.platform.recipes.MigrateMethodCallSameArgument
- getVisitor() - Method in class com.atlassian.platform.recipes.ReplaceConstructorArgument
- getVisitor() - Method in class com.atlassian.platform.recipes.rest.tov2.AddInjectAnnotationToResourceConstructor
- getVisitor() - Method in class com.atlassian.platform.recipes.rest.tov2.AddTagToAtlassianPluginXml
- getVisitor(MigrateCorsModuleDescriptor.ProjectShapeAccumulator) - Method in class com.atlassian.platform.recipes.rest.tov2.MigrateCorsModuleDescriptor
-
Second pass is done by the recipe making changes based on info in the accumulator.
J
- JAVA_CONFIG - Enum constant in enum class com.atlassian.platform.recipes.model.SpringConfigType
M
- matchesType(JavaType) - Method in class com.atlassian.platform.recipes.model.ArgumentTypeRefactor
- MigrateCorsModuleDescriptor - Class in com.atlassian.platform.recipes.rest.tov2
- MigrateCorsModuleDescriptor() - Constructor for class com.atlassian.platform.recipes.rest.tov2.MigrateCorsModuleDescriptor
- MigrateMethodCallChangeArgumentType - Class in com.atlassian.platform.recipes
-
Use this recipe when you need to change the argument type used in method call.
- MigrateMethodCallChangeArgumentType(String, String, String[], String[]) - Constructor for class com.atlassian.platform.recipes.MigrateMethodCallChangeArgumentType
- MigrateMethodCallSameArgument - Class in com.atlassian.platform.recipes
-
Use this recipe when you need to just rename the method to call, but argument list does not change.
- MigrateMethodCallSameArgument(String, String) - Constructor for class com.atlassian.platform.recipes.MigrateMethodCallSameArgument
O
- OSGI_SPRING - Enum constant in enum class com.atlassian.platform.recipes.model.SpringConfigType
R
- ReplaceCompositeArgumentMethodInvocationVisitor - Class in com.atlassian.platform.recipes
- ReplaceCompositeArgumentMethodInvocationVisitor(ArgumentTypeRefactor, ArgumentTypeRefactor) - Constructor for class com.atlassian.platform.recipes.ReplaceCompositeArgumentMethodInvocationVisitor
- ReplaceConstructorArgument - Class in com.atlassian.platform.recipes
-
Use this recipe when you need to refactor calls to an init method - this will try and change the types of any used by init variables, and fields.
- ReplaceConstructorArgument(String, String, String, String, String) - Constructor for class com.atlassian.platform.recipes.ReplaceConstructorArgument
- ResourceClassVisitor() - Constructor for class com.atlassian.platform.recipes.rest.tov2.AddInjectAnnotationToResourceConstructor.ResourceClassVisitor
S
- SPRING_1 - Enum constant in enum class com.atlassian.platform.recipes.model.SpringConfigType
- SPRING_2 - Enum constant in enum class com.atlassian.platform.recipes.model.SpringConfigType
- SpringConfigType - Enum Class in com.atlassian.platform.recipes.model
-
How do I manage OSGI context within our atlassian plugins? Let me count the ways.
T
- transformArg(Expression, ArgumentTypeRefactor, ArgumentTypeRefactor) - Method in class com.atlassian.platform.recipes.ReplaceCompositeArgumentMethodInvocationVisitor
- transformIfMatches(JavaType) - Method in class com.atlassian.platform.recipes.model.ArgumentTypeRefactor
- transformIfMatches(TypeTree) - Method in class com.atlassian.platform.recipes.model.ArgumentTypeRefactor
V
- valueOf(String) - Static method in enum class com.atlassian.platform.recipes.model.SpringConfigType
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class com.atlassian.platform.recipes.model.SpringConfigType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- visitClassDeclaration(J.ClassDeclaration, ExecutionContext) - Method in class com.atlassian.platform.recipes.rest.tov2.AddInjectAnnotationToResourceConstructor.ResourceClassVisitor
- visitMethodDeclaration(J.MethodDeclaration, ExecutionContext) - Method in class com.atlassian.platform.recipes.ChangeVariableType
- visitMethodDeclaration(J.MethodDeclaration, ExecutionContext) - Method in class com.atlassian.platform.recipes.rest.tov2.AddInjectAnnotationToResourceConstructor.ResourceClassVisitor
- visitVariableDeclarations(J.VariableDeclarations, ExecutionContext) - Method in class com.atlassian.platform.recipes.ChangeVariableType
All Classes and Interfaces|All Packages