MCPcopy Create free account

hub / github.com/HexarA/Json2Pojo / functions

Functions63 in github.com/HexarA/Json2Pojo

↓ 30 callersMethodaddSingularize
( String rule, String replacement )
src/org/jboss/dna/common/text/Inflector.java:465
↓ 23 callersMethodaddPluralize
( String rule, String replacement )
src/org/jboss/dna/common/text/Inflector.java:459
↓ 19 callersMethodformatClassName
Formats the given property name into a more standard class name. @param propertyName the original property name. @return the formatted class name.
src/net/hexar/json2pojo/GeneratePojos.java:509
↓ 19 callersMethodformatFieldName
Formats the given property name into a more standard field name. @param propertyName the original property name. @param useMPrefix true if the fiel
src/net/hexar/json2pojo/GeneratePojos.java:520
↓ 8 callersMethodgetInstance
()
src/org/jboss/dna/common/text/Inflector.java:45
↓ 7 callersMethodtoString
()
src/org/jboss/dna/common/text/Inflector.java:90
↓ 6 callersMethodaddIrregular
( String singular, String plural )
src/org/jboss/dna/common/text/Inflector.java:471
↓ 5 callersMethodequals
( Object obj )
src/org/jboss/dna/common/text/Inflector.java:80
↓ 5 callersMethodsanitizePropertyName
Given a property name as a string, creates a valid identifier by removing non-alphanumeric characters and uppercasing the letters after non-alphanumer
src/net/hexar/json2pojo/GeneratePojos.java:536
↓ 3 callersMethodapply
Apply the rule against the input string, returning the modified string or null if the rule didn't apply (and no modifications were made) @param input
src/org/jboss/dna/common/text/Inflector.java:69
↓ 3 callersMethodcapitalize
Returns a copy of the input with the first character converted to uppercase and the remainder to lowercase. @param words the word to be capitalized @
src/org/jboss/dna/common/text/Inflector.java:347
↓ 3 callersMethodonCancel
()
src/net/hexar/json2pojo/JsonEntryDialog.java:115
↓ 3 callersMethodsingularize
Returns the singular form of the word in the string. <p> Examples: <pre> inflector.singularize(&quot;posts&quot;) #=&gt; &quot;post&quo
src/org/jboss/dna/common/text/Inflector.java:190
↓ 3 callersMethodvalidate
Validates the class name and JSON text and enables the OK button if validation passes.
src/net/hexar/json2pojo/JsonEntryDialog.java:152
↓ 2 callersMethodcamelCase
By default, this method converts strings to UpperCamelCase. If the <code>uppercaseFirstLetter</code> argument to false, then this method produces lowe
src/org/jboss/dna/common/text/Inflector.java:281
↓ 2 callersMethodisUncountable
Determine whether the supplied word is considered uncountable by the {@link #pluralize(Object) pluralize} and {@link #singularize(Object) singularize}
src/org/jboss/dna/common/text/Inflector.java:444
↓ 2 callersMethodparseObject
Generates all of the sub-objects for a given class. @param classNode the JSON object node in the JSON syntax tree. @param className the name of the c
src/net/hexar/json2pojo/GeneratePojos.java:135
↓ 2 callersMethodreplaceAllWithUppercase
Utility method to replace all occurrences given by the specific backreference with its uppercased form, and remove all other backreferences. <p> The J
src/org/jboss/dna/common/text/Inflector.java:507
↓ 1 callersMethodaddUncountable
( String... words )
src/org/jboss/dna/common/text/Inflector.java:485
↓ 1 callersMethodannotateClass
Adds the {@link Generated} annotation to the class. @param clazz the class to annotate.
src/net/hexar/json2pojo/GeneratePojos.java:372
↓ 1 callersMethodannotateField
Adds the {@link Expose} annotation and potentially the {@link SerializedName} annotation to a given field - the latter is applied only if the property
src/net/hexar/json2pojo/GeneratePojos.java:384
↓ 1 callersMethodcreateBuildMethod
Creates the build method for the builder. @param owner the containing class to build. @param builder the builder to generate the build method for.
src/net/hexar/json2pojo/GeneratePojos.java:435
↓ 1 callersMethodcreateBuilderSetter
Generates a builder method for the given class, field, and property name. @param builder the class to generate a builder method in. @param field
src/net/hexar/json2pojo/GeneratePojos.java:407
↓ 1 callersMethodcreateGetter
Generates a getter for the given class, field, and property name. @param clazz the class to generate a getter in. @param field the fiel
src/net/hexar/json2pojo/GeneratePojos.java:465
↓ 1 callersMethodcreateSetter
Generates a setter for the given class, field, and property name. @param clazz the class to generate a setter in. @param field the fiel
src/net/hexar/json2pojo/GeneratePojos.java:483
↓ 1 callersMethodgenerate
Generates all of the sub-objects and fields for a given class. @param rootNode the JSON class node in the JSON syntax tree. @param rootName
src/net/hexar/json2pojo/GeneratePojos.java:104
↓ 1 callersMethodgenerateBuilder
Generates the inner builder class for the containing class, with methods for the given fields. @param clazz the class to generate a builder class in
src/net/hexar/json2pojo/GeneratePojos.java:346
↓ 1 callersMethodgenerateFields
Generates all of the fields for a given class. @param clazz the class to generate sub-objects and fields for. @param fields the
src/net/hexar/json2pojo/GeneratePojos.java:279
↓ 1 callersMethodgenerateFromJson
Generates POJOs from a source JSON text. @param rootName the name of the root class to generate. @param json the source JSON text
src/net/hexar/json2pojo/GeneratePojos.java:67
↓ 1 callersMethodgetFieldInfoFromNode
Creates a field in the given class. @param node the JSON node describing the field. @param propertyName the name of the field to create. @par
src/net/hexar/json2pojo/GeneratePojos.java:206
↓ 1 callersMethodhumanize
Capitalizes the first word and turns underscores into spaces and strips trailing "_id" and any supplied removable tokens. Like {@link #titleCase(Strin
src/org/jboss/dna/common/text/Inflector.java:373
↓ 1 callersMethodinitialize
()
src/org/jboss/dna/common/text/Inflector.java:529
↓ 1 callersMethodonOK
()
src/net/hexar/json2pojo/JsonEntryDialog.java:119
↓ 1 callersMethodonOk
A callback to be invoked when the user has clicked the OK button. @param className the class name entered into the dialog. @param jsonText the JSON t
src/net/hexar/json2pojo/JsonEntryDialog.java:35
↓ 1 callersMethodparseArray
Generates all of the sub-objects for a given array node. @param arrayNode the JSON array node in the JSON syntax tree. @param className the formatted
src/net/hexar/json2pojo/GeneratePojos.java:180
↓ 1 callersMethodrun
(@NotNull ProgressIndicator indicator)
src/net/hexar/json2pojo/GenerateAction.java:40
MethodFieldComparator
(boolean useMPrefix)
src/net/hexar/json2pojo/GeneratePojos.java:588
MethodFieldInfo
(JType type, String propertyName)
src/net/hexar/json2pojo/GeneratePojos.java:607
MethodGeneratePojos
(String packageName, VirtualFile moduleSourceRoot, ProgressIndicator progressBar)
src/net/hexar/json2pojo/GeneratePojos.java:49
MethodGeneratedField
(JFieldVar field, String propertyName)
src/net/hexar/json2pojo/GeneratePojos.java:620
MethodInflector
()
src/org/jboss/dna/common/text/Inflector.java:104
MethodJsonEntryDialog
(OnOkListener listener)
src/net/hexar/json2pojo/JsonEntryDialog.java:64
MethodRule
( String expression, String replacement )
src/org/jboss/dna/common/text/Inflector.java:55
MethodactionPerformed
(AnActionEvent event)
src/net/hexar/json2pojo/GenerateAction.java:25
MethodchangedUpdate
(DocumentEvent e)
src/net/hexar/json2pojo/JsonEntryDialog.java:144
Methodclear
Completely remove all rules within this inflector.
src/org/jboss/dna/common/text/Inflector.java:523
Methodclone
()
src/org/jboss/dna/common/text/Inflector.java:114
Methodcompare
(FieldInfo left, FieldInfo right)
src/net/hexar/json2pojo/GeneratePojos.java:592
MethodformatClassName
()
test/net/hexar/json2pojo/GeneratePojosTest.java:10
MethodformatFieldNameWithMPrefix
()
test/net/hexar/json2pojo/GeneratePojosTest.java:23
MethodformatFieldNameWithoutMPrefix
()
test/net/hexar/json2pojo/GeneratePojosTest.java:35
MethodgetUncountables
Get the set of words that are not processed by the Inflector. The resulting map is directly modifiable. @return the set of uncountable words
src/org/jboss/dna/common/text/Inflector.java:455
MethodhashCode
()
src/org/jboss/dna/common/text/Inflector.java:75
MethodinsertUpdate
(DocumentEvent e)
src/net/hexar/json2pojo/JsonEntryDialog.java:134
MethodlowerCamelCase
Converts strings to lowerCamelCase. This method will also use any extra delimiter characters to identify word boundaries. <p> Examples: <pre> infle
src/org/jboss/dna/common/text/Inflector.java:223
Methodordinalize
Turns a non-negative number into an ordinal string used to denote the position in an ordered sequence, such as 1st, 2nd, 3rd, 4th. @param number the
src/org/jboss/dna/common/text/Inflector.java:422
Methodpluralize
Returns the plural form of the word in the string. <p> Examples: <pre> inflector.pluralize(&quot;post&quot;) #=&gt; &quot;posts&quot;
src/org/jboss/dna/common/text/Inflector.java:146
MethodremoveUpdate
(DocumentEvent e)
src/net/hexar/json2pojo/JsonEntryDialog.java:139
MethodtitleCase
Capitalizes all the words and replaces some characters in the string to create a nicer looking title. Underscores are changed to spaces, a trailing "_
src/org/jboss/dna/common/text/Inflector.java:408
Methodunderscore
Makes an underscored form from the expression in the string (the reverse of the {@link #camelCase(String, boolean, char[]) camelCase} method. Also cha
src/org/jboss/dna/common/text/Inflector.java:325
Methodupdate
(AnActionEvent event)
src/net/hexar/json2pojo/GenerateAction.java:61
MethodupperCamelCase
Converts strings to UpperCamelCase. This method will also use any extra delimiter characters to identify word boundaries. <p> Examples: <pre> infle
src/org/jboss/dna/common/text/Inflector.java:249
MethodwindowClosing
(WindowEvent e)
src/net/hexar/json2pojo/JsonEntryDialog.java:83