From d2cd520f1394a689da142b4c76d0d5f3f66a3b92 Mon Sep 17 00:00:00 2001 From: anmeng10101 <33647870+anmeng10101@users.noreply.github.com> Date: Thu, 17 Sep 2020 13:28:50 +0800 Subject: [PATCH] convert outputs to schema-driven-processor based yaml files (#51) * refine memory cache model as pre-step for generating SDP based yaml * add SDP models * fix comment * write SDP based content files and toc to disk * refine test cases and expected results * using double quotes to make sure some Java key words will be handled as string in docs build when they are uses as "name" or "description" * resolve the {@link} in members summary * sort items in toc.yml * sort every level of toc.yml (#50) --- pom.xml | 6 + .../com/microsoft/build/YmlFilesBuilder.java | 99 +++- .../java/com/microsoft/lookup/BaseLookup.java | 4 + .../microsoft/lookup/ClassItemsLookup.java | 8 +- .../model/ExtendedMetadataFileItem.java | 16 + .../com/microsoft/model/ExceptionItem.java | 13 + src/main/java/com/microsoft/model/Field.java | 34 ++ .../com/microsoft/model/MetadataFile.java | 2 +- .../com/microsoft/model/MetadataFileItem.java | 27 +- .../com/microsoft/model/MethodParameter.java | 10 + src/main/java/com/microsoft/model/Return.java | 13 +- src/main/java/com/microsoft/model/Syntax.java | 2 +- .../java/com/microsoft/model/TocFile.java | 10 +- .../java/com/microsoft/model/TocItem.java | 45 +- .../com/microsoft/model/TypeParameter.java | 19 +- .../com/microsoft/model/sdp/BaseModel.java | 68 +++ .../microsoft/model/sdp/ExecutableModel.java | 91 ++++ .../com/microsoft/model/sdp/FieldModel.java | 28 + .../microsoft/model/sdp/TypeBaseModel.java | 63 +++ .../microsoft/model/sdp/file/EnumModel.java | 88 ++++ .../microsoft/model/sdp/file/MemberModel.java | 98 ++++ .../model/sdp/file/PackageModel.java | 97 ++++ .../microsoft/model/sdp/file/TypeModel.java | 146 ++++++ .../java/com/microsoft/util/FileUtil.java | 3 +- .../java/com/microsoft/util/XrefHelper.java | 72 +++ .../java/com/microsoft/util/YamlUtil.java | 8 +- .../microsoft/build/YmlFilesBuilderTest.java | 12 +- .../microsoft/doclet/DocletRunnerTest.java | 9 +- .../java/com/microsoft/samples/SuperHero.java | 12 + .../AgreementDetailsCollectionOperations.java | 5 + .../IAgreementDetailsCollection.java | 2 + .../samples/subpackage/HttpStatusCode.java | 18 + .../microsoft/samples/subpackage/Person.java | 4 + .../com/microsoft/util/ElementUtilTest.java | 6 +- .../java/com/microsoft/util/YamlUtilTest.java | 24 +- ...ePartnerComponent.BasePartnerComponent.yml | 22 + ....samples.BasePartnerComponent.testBase.yml | 14 + ...les.BasePartnerComponent.testInherited.yml | 14 + ...microsoft.samples.BasePartnerComponent.yml | 182 ++----- ...onentString.BasePartnerComponentString.yml | 32 ++ ...sePartnerComponentString.testInherited.yml | 15 + ...oft.samples.BasePartnerComponentString.yml | 201 ++------ ...rosoft.samples.IPartner.getCredentials.yml | 18 + .../com.microsoft.samples.IPartner.yml | 57 +-- ...soft.samples.KeyValuePair.KeyValuePair.yml | 24 + ....microsoft.samples.KeyValuePair.getKey.yml | 16 + ...icrosoft.samples.KeyValuePair.getValue.yml | 16 + .../com.microsoft.samples.KeyValuePair.yml | 199 ++------ .../com.microsoft.samples.Link.Link.yml | 14 + .../com.microsoft.samples.Link.getHeaders.yml | 16 + .../com.microsoft.samples.Link.getMethod.yml | 16 + .../com.microsoft.samples.Link.setHeaders.yml | 17 + .../com.microsoft.samples.Link.setMethod.yml | 17 + .../com.microsoft.samples.Link.yml | 250 ++------- ...om.microsoft.samples.Subpackage(class).yml | 118 +---- ...icrosoft.samples.Subpackage.Subpackage.yml | 14 + ...microsoft.samples.SuperHero.ReturnNull.yml | 22 + ...t.samples.SuperHero.SOME_PUBLIC_STRING.yml | 14 + ....microsoft.samples.SuperHero.SuperHero.yml | 28 + ...microsoft.samples.SuperHero.getDefense.yml | 16 + ....microsoft.samples.SuperHero.getHealth.yml | 16 + ...icrosoft.samples.SuperHero.getHeroName.yml | 16 + ...icrosoft.samples.SuperHero.getLastName.yml | 19 + ...osoft.samples.SuperHero.getUniquePower.yml | 16 + ...microsoft.samples.SuperHero.setDefense.yml | 17 + ....microsoft.samples.SuperHero.setHealth.yml | 17 + ...icrosoft.samples.SuperHero.setHeroName.yml | 17 + ...osoft.samples.SuperHero.setUniquePower.yml | 17 + ...samples.SuperHero.successfullyAttacked.yml | 28 + .../com.microsoft.samples.SuperHero.yml | 479 ++---------------- ...s.AgreementDetailsCollectionOperations.yml | 19 + ...reementDetailsCollectionOperations.get.yml | 28 + ...s.AgreementDetailsCollectionOperations.yml | 203 ++------ ...ts.AgreementMetaData.AgreementMetaData.yml | 14 + ...nts.AgreementMetaData.getAgreementLink.yml | 16 + ...ements.AgreementMetaData.getTemplateId.yml | 16 + ...ments.AgreementMetaData.getVersionRank.yml | 16 + ...nts.AgreementMetaData.setAgreementLink.yml | 17 + ...ements.AgreementMetaData.setTemplateId.yml | 17 + ...ments.AgreementMetaData.setVersionRank.yml | 17 + ...t.samples.agreements.AgreementMetaData.yml | 266 ++-------- ...ements.IAgreementDetailsCollection.get.yml | 28 + ...agreements.IAgreementDetailsCollection.yml | 73 +-- ....ResourceCollection.ResourceCollection.yml | 14 + ....samples.agreements.ResourceCollection.yml | 128 +---- .../com.microsoft.samples.agreements.yml | 46 +- ...mples.commentinheritance.Animal.Animal.yml | 14 + ...ples.commentinheritance.Animal.breathe.yml | 15 + ...samples.commentinheritance.Animal.feed.yml | 15 + ...ples.commentinheritance.Animal.getKind.yml | 17 + ...inheritance.Animal.verballyCommunicate.yml | 15 + ...soft.samples.commentinheritance.Animal.yml | 220 ++------ ...les.commentinheritance.Carnivorous.eat.yml | 19 + ...commentinheritance.Carnivorous.getKind.yml | 17 + ...samples.commentinheritance.Carnivorous.yml | 85 +--- ...oft.samples.commentinheritance.Dog.Dog.yml | 14 + ...oft.samples.commentinheritance.Dog.eat.yml | 29 ++ ...ft.samples.commentinheritance.Dog.feed.yml | 16 + ...es.commentinheritance.Dog.getHairColor.yml | 18 + ...samples.commentinheritance.Dog.getKind.yml | 18 + ...mples.commentinheritance.Dog.giveBirth.yml | 18 + ...entinheritance.Dog.verballyCommunicate.yml | 16 + ...crosoft.samples.commentinheritance.Dog.yml | 351 ++----------- ...entinheritance.Herbivorous.Plant.Plant.yml | 14 + ...s.commentinheritance.Herbivorous.Plant.yml | 118 +---- ...les.commentinheritance.Herbivorous.eat.yml | 19 + ...commentinheritance.Herbivorous.getKind.yml | 17 + ...samples.commentinheritance.Herbivorous.yml | 86 +--- ...mples.commentinheritance.Mammal.Mammal.yml | 14 + ...ples.commentinheritance.Mammal.getKind.yml | 18 + ...soft.samples.commentinheritance.Mammal.yml | 180 ++----- ...ples.commentinheritance.Omnivorous.eat.yml | 27 + ....commentinheritance.Omnivorous.getKind.yml | 17 + ....samples.commentinheritance.Omnivorous.yml | 121 +---- ...es.commentinheritance.Organism.getKind.yml | 17 + ...ft.samples.commentinheritance.Organism.yml | 54 +- ....commentinheritance.Viviparous.getKind.yml | 17 + ...ommentinheritance.Viviparous.giveBirth.yml | 17 + ....samples.commentinheritance.Viviparous.yml | 84 +-- ...m.microsoft.samples.commentinheritance.yml | 76 +-- ...m.microsoft.samples.offers.Offer.Offer.yml | 15 + ...offers.Offer.getReselleeQualifications.yml | 16 + ...offers.Offer.getResellerQualifications.yml | 16 + ...offers.Offer.setReselleeQualifications.yml | 17 + ...offers.Offer.setResellerQualifications.yml | 17 + .../com.microsoft.samples.offers.Offer.yml | 219 ++------ .../com.microsoft.samples.offers.yml | 27 +- ....microsoft.samples.subpackage(package).yml | 62 +-- ...ackage.CustomException.CustomException.yml | 17 + ...bpackage.CustomException.makeSomething.yml | 18 + ...oft.samples.subpackage.CustomException.yml | 231 ++------- ...rosoft.samples.subpackage.Display.hide.yml | 14 + ...rosoft.samples.subpackage.Display.show.yml | 14 + ...m.microsoft.samples.subpackage.Display.yml | 104 +--- ...s.subpackage.HttpStatusCode.BADREQUEST.yml | 14 + ...les.subpackage.HttpStatusCode.CONFLICT.yml | 14 + ...ckage.HttpStatusCode.EXPECTATIONFAILED.yml | 14 + ...es.subpackage.HttpStatusCode.FORBIDDEN.yml | 14 + ...bpackage.HttpStatusCode.HttpStatusCode.yml | 14 + ...les.subpackage.HttpStatusCode.NOTFOUND.yml | 14 + ...kage.HttpStatusCode.SERVICEUNAVAILABLE.yml | 14 + ...subpackage.HttpStatusCode.UNAUTHORIZED.yml | 14 + ...soft.samples.subpackage.HttpStatusCode.yml | 33 ++ ...ckage.Person.IdentificationInfo.Gender.yml | 258 ++-------- ....IdentificationInfo.IdentificationInfo.yml | 14 + ...s.subpackage.Person.IdentificationInfo.yml | 125 +---- ...osoft.samples.subpackage.Person.Person.yml | 14 + ...icrosoft.samples.subpackage.Person.age.yml | 14 + ....samples.subpackage.Person.buildPerson.yml | 20 + ...samples.subpackage.Person.getFirstName.yml | 16 + ....samples.subpackage.Person.getLastName.yml | 16 + ...t.samples.subpackage.Person.getSomeSet.yml | 16 + ...samples.subpackage.Person.setFirstName.yml | 17 + ....samples.subpackage.Person.setLastName.yml | 22 + ...om.microsoft.samples.subpackage.Person.yml | 330 ++---------- ...crosoft.samples.subpackage.Tuple.Tuple.yml | 19 + ...soft.samples.subpackage.Tuple.getItem1.yml | 16 + ...soft.samples.subpackage.Tuple.getItem2.yml | 16 + ...soft.samples.subpackage.Tuple.setItem1.yml | 17 + ...soft.samples.subpackage.Tuple.setItem2.yml | 17 + ...com.microsoft.samples.subpackage.Tuple.yml | 230 ++------- .../com.microsoft.samples.yml | 66 +-- .../expected-generated-files/toc.yml | 311 ++++++++++++ 163 files changed, 3884 insertions(+), 4469 deletions(-) create mode 100644 src/main/java/com/microsoft/model/Field.java create mode 100644 src/main/java/com/microsoft/model/sdp/BaseModel.java create mode 100644 src/main/java/com/microsoft/model/sdp/ExecutableModel.java create mode 100644 src/main/java/com/microsoft/model/sdp/FieldModel.java create mode 100644 src/main/java/com/microsoft/model/sdp/TypeBaseModel.java create mode 100644 src/main/java/com/microsoft/model/sdp/file/EnumModel.java create mode 100644 src/main/java/com/microsoft/model/sdp/file/MemberModel.java create mode 100644 src/main/java/com/microsoft/model/sdp/file/PackageModel.java create mode 100644 src/main/java/com/microsoft/model/sdp/file/TypeModel.java create mode 100644 src/main/java/com/microsoft/util/XrefHelper.java create mode 100644 src/test/java/com/microsoft/samples/subpackage/HttpStatusCode.java create mode 100644 src/test/resources/expected-generated-files/com.microsoft.samples.BasePartnerComponent.BasePartnerComponent.yml create mode 100644 src/test/resources/expected-generated-files/com.microsoft.samples.BasePartnerComponent.testBase.yml create mode 100644 src/test/resources/expected-generated-files/com.microsoft.samples.BasePartnerComponent.testInherited.yml create mode 100644 src/test/resources/expected-generated-files/com.microsoft.samples.BasePartnerComponentString.BasePartnerComponentString.yml create mode 100644 src/test/resources/expected-generated-files/com.microsoft.samples.BasePartnerComponentString.testInherited.yml create mode 100644 src/test/resources/expected-generated-files/com.microsoft.samples.IPartner.getCredentials.yml create mode 100644 src/test/resources/expected-generated-files/com.microsoft.samples.KeyValuePair.KeyValuePair.yml create mode 100644 src/test/resources/expected-generated-files/com.microsoft.samples.KeyValuePair.getKey.yml create mode 100644 src/test/resources/expected-generated-files/com.microsoft.samples.KeyValuePair.getValue.yml create mode 100644 src/test/resources/expected-generated-files/com.microsoft.samples.Link.Link.yml create mode 100644 src/test/resources/expected-generated-files/com.microsoft.samples.Link.getHeaders.yml create mode 100644 src/test/resources/expected-generated-files/com.microsoft.samples.Link.getMethod.yml create mode 100644 src/test/resources/expected-generated-files/com.microsoft.samples.Link.setHeaders.yml create mode 100644 src/test/resources/expected-generated-files/com.microsoft.samples.Link.setMethod.yml create mode 100644 src/test/resources/expected-generated-files/com.microsoft.samples.Subpackage.Subpackage.yml create mode 100644 src/test/resources/expected-generated-files/com.microsoft.samples.SuperHero.ReturnNull.yml create mode 100644 src/test/resources/expected-generated-files/com.microsoft.samples.SuperHero.SOME_PUBLIC_STRING.yml create mode 100644 src/test/resources/expected-generated-files/com.microsoft.samples.SuperHero.SuperHero.yml create mode 100644 src/test/resources/expected-generated-files/com.microsoft.samples.SuperHero.getDefense.yml create mode 100644 src/test/resources/expected-generated-files/com.microsoft.samples.SuperHero.getHealth.yml create mode 100644 src/test/resources/expected-generated-files/com.microsoft.samples.SuperHero.getHeroName.yml create mode 100644 src/test/resources/expected-generated-files/com.microsoft.samples.SuperHero.getLastName.yml create mode 100644 src/test/resources/expected-generated-files/com.microsoft.samples.SuperHero.getUniquePower.yml create mode 100644 src/test/resources/expected-generated-files/com.microsoft.samples.SuperHero.setDefense.yml create mode 100644 src/test/resources/expected-generated-files/com.microsoft.samples.SuperHero.setHealth.yml create mode 100644 src/test/resources/expected-generated-files/com.microsoft.samples.SuperHero.setHeroName.yml create mode 100644 src/test/resources/expected-generated-files/com.microsoft.samples.SuperHero.setUniquePower.yml create mode 100644 src/test/resources/expected-generated-files/com.microsoft.samples.SuperHero.successfullyAttacked.yml create mode 100644 src/test/resources/expected-generated-files/com.microsoft.samples.agreements.AgreementDetailsCollectionOperations.AgreementDetailsCollectionOperations.yml create mode 100644 src/test/resources/expected-generated-files/com.microsoft.samples.agreements.AgreementDetailsCollectionOperations.get.yml create mode 100644 src/test/resources/expected-generated-files/com.microsoft.samples.agreements.AgreementMetaData.AgreementMetaData.yml create mode 100644 src/test/resources/expected-generated-files/com.microsoft.samples.agreements.AgreementMetaData.getAgreementLink.yml create mode 100644 src/test/resources/expected-generated-files/com.microsoft.samples.agreements.AgreementMetaData.getTemplateId.yml create mode 100644 src/test/resources/expected-generated-files/com.microsoft.samples.agreements.AgreementMetaData.getVersionRank.yml create mode 100644 src/test/resources/expected-generated-files/com.microsoft.samples.agreements.AgreementMetaData.setAgreementLink.yml create mode 100644 src/test/resources/expected-generated-files/com.microsoft.samples.agreements.AgreementMetaData.setTemplateId.yml create mode 100644 src/test/resources/expected-generated-files/com.microsoft.samples.agreements.AgreementMetaData.setVersionRank.yml create mode 100644 src/test/resources/expected-generated-files/com.microsoft.samples.agreements.IAgreementDetailsCollection.get.yml create mode 100644 src/test/resources/expected-generated-files/com.microsoft.samples.agreements.ResourceCollection.ResourceCollection.yml create mode 100644 src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.Animal.Animal.yml create mode 100644 src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.Animal.breathe.yml create mode 100644 src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.Animal.feed.yml create mode 100644 src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.Animal.getKind.yml create mode 100644 src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.Animal.verballyCommunicate.yml create mode 100644 src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.Carnivorous.eat.yml create mode 100644 src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.Carnivorous.getKind.yml create mode 100644 src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.Dog.Dog.yml create mode 100644 src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.Dog.eat.yml create mode 100644 src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.Dog.feed.yml create mode 100644 src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.Dog.getHairColor.yml create mode 100644 src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.Dog.getKind.yml create mode 100644 src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.Dog.giveBirth.yml create mode 100644 src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.Dog.verballyCommunicate.yml create mode 100644 src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.Herbivorous.Plant.Plant.yml create mode 100644 src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.Herbivorous.eat.yml create mode 100644 src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.Herbivorous.getKind.yml create mode 100644 src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.Mammal.Mammal.yml create mode 100644 src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.Mammal.getKind.yml create mode 100644 src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.Omnivorous.eat.yml create mode 100644 src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.Omnivorous.getKind.yml create mode 100644 src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.Organism.getKind.yml create mode 100644 src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.Viviparous.getKind.yml create mode 100644 src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.Viviparous.giveBirth.yml create mode 100644 src/test/resources/expected-generated-files/com.microsoft.samples.offers.Offer.Offer.yml create mode 100644 src/test/resources/expected-generated-files/com.microsoft.samples.offers.Offer.getReselleeQualifications.yml create mode 100644 src/test/resources/expected-generated-files/com.microsoft.samples.offers.Offer.getResellerQualifications.yml create mode 100644 src/test/resources/expected-generated-files/com.microsoft.samples.offers.Offer.setReselleeQualifications.yml create mode 100644 src/test/resources/expected-generated-files/com.microsoft.samples.offers.Offer.setResellerQualifications.yml create mode 100644 src/test/resources/expected-generated-files/com.microsoft.samples.subpackage.CustomException.CustomException.yml create mode 100644 src/test/resources/expected-generated-files/com.microsoft.samples.subpackage.CustomException.makeSomething.yml create mode 100644 src/test/resources/expected-generated-files/com.microsoft.samples.subpackage.Display.hide.yml create mode 100644 src/test/resources/expected-generated-files/com.microsoft.samples.subpackage.Display.show.yml create mode 100644 src/test/resources/expected-generated-files/com.microsoft.samples.subpackage.HttpStatusCode.BADREQUEST.yml create mode 100644 src/test/resources/expected-generated-files/com.microsoft.samples.subpackage.HttpStatusCode.CONFLICT.yml create mode 100644 src/test/resources/expected-generated-files/com.microsoft.samples.subpackage.HttpStatusCode.EXPECTATIONFAILED.yml create mode 100644 src/test/resources/expected-generated-files/com.microsoft.samples.subpackage.HttpStatusCode.FORBIDDEN.yml create mode 100644 src/test/resources/expected-generated-files/com.microsoft.samples.subpackage.HttpStatusCode.HttpStatusCode.yml create mode 100644 src/test/resources/expected-generated-files/com.microsoft.samples.subpackage.HttpStatusCode.NOTFOUND.yml create mode 100644 src/test/resources/expected-generated-files/com.microsoft.samples.subpackage.HttpStatusCode.SERVICEUNAVAILABLE.yml create mode 100644 src/test/resources/expected-generated-files/com.microsoft.samples.subpackage.HttpStatusCode.UNAUTHORIZED.yml create mode 100644 src/test/resources/expected-generated-files/com.microsoft.samples.subpackage.HttpStatusCode.yml create mode 100644 src/test/resources/expected-generated-files/com.microsoft.samples.subpackage.Person.IdentificationInfo.IdentificationInfo.yml create mode 100644 src/test/resources/expected-generated-files/com.microsoft.samples.subpackage.Person.Person.yml create mode 100644 src/test/resources/expected-generated-files/com.microsoft.samples.subpackage.Person.age.yml create mode 100644 src/test/resources/expected-generated-files/com.microsoft.samples.subpackage.Person.buildPerson.yml create mode 100644 src/test/resources/expected-generated-files/com.microsoft.samples.subpackage.Person.getFirstName.yml create mode 100644 src/test/resources/expected-generated-files/com.microsoft.samples.subpackage.Person.getLastName.yml create mode 100644 src/test/resources/expected-generated-files/com.microsoft.samples.subpackage.Person.getSomeSet.yml create mode 100644 src/test/resources/expected-generated-files/com.microsoft.samples.subpackage.Person.setFirstName.yml create mode 100644 src/test/resources/expected-generated-files/com.microsoft.samples.subpackage.Person.setLastName.yml create mode 100644 src/test/resources/expected-generated-files/com.microsoft.samples.subpackage.Tuple.Tuple.yml create mode 100644 src/test/resources/expected-generated-files/com.microsoft.samples.subpackage.Tuple.getItem1.yml create mode 100644 src/test/resources/expected-generated-files/com.microsoft.samples.subpackage.Tuple.getItem2.yml create mode 100644 src/test/resources/expected-generated-files/com.microsoft.samples.subpackage.Tuple.setItem1.yml create mode 100644 src/test/resources/expected-generated-files/com.microsoft.samples.subpackage.Tuple.setItem2.yml diff --git a/pom.xml b/pom.xml index d45b125..94fd833 100644 --- a/pom.xml +++ b/pom.xml @@ -17,6 +17,7 @@ 3.8.1 4.2 2.6 + 1.9 1.1.0 @@ -111,6 +112,11 @@ commons-io ${apache.commons-io.version} + + org.apache.commons + commons-text + ${apache.commons-text.version} + com.fasterxml.jackson.core jackson-databind diff --git a/src/main/java/com/microsoft/build/YmlFilesBuilder.java b/src/main/java/com/microsoft/build/YmlFilesBuilder.java index 06ffa06..a22841b 100644 --- a/src/main/java/com/microsoft/build/YmlFilesBuilder.java +++ b/src/main/java/com/microsoft/build/YmlFilesBuilder.java @@ -5,6 +5,7 @@ import com.microsoft.lookup.ClassLookup; import com.microsoft.lookup.PackageLookup; import com.microsoft.model.*; +import com.microsoft.model.sdp.file.*; import com.microsoft.util.ElementUtil; import com.microsoft.util.FileUtil; import com.microsoft.util.Utils; @@ -75,21 +76,27 @@ public boolean build() { populateUidValues(packageMetadataFiles, classMetadataFiles); - packageMetadataFiles.forEach(FileUtil::dumpToFile); - classMetadataFiles.forEach(FileUtil::dumpToFile); + // write content files + packageMetadataFiles.forEach(YmlFilesBuilder::writePackageContentToYml); + for (MetadataFile type : classMetadataFiles) + { + writeTypeContentToYml(type); + } + + // write toc.yml FileUtil.dumpToFile(tocFile); return true; } - void buildFilesForInnerClasses(Element element, List listToAddItems, List container) { + void buildFilesForInnerClasses(Element element, Set listToAddItems, List container) { for (TypeElement classElement : elementUtil.extractSortedElements(element)) { String uid = classLookup.extractUid(classElement); String name = classLookup.extractTocName(classElement); + TocItem tocNode = new TocItem(uid, name); - listToAddItems.add(new TocItem(uid, name)); - - container.add(buildClassYmlFile(classElement)); + container.add(buildClassYmlFile(classElement, tocNode)); + listToAddItems.add(tocNode); buildFilesForInnerClasses(classElement, listToAddItems, container); } } @@ -105,12 +112,12 @@ MetadataFile buildPackageMetadataFile(PackageElement packageElement) { return packageMetadataFile; } - void addChildrenReferences(Element element, List packageChildren, + void addChildrenReferences(Element element, List packageChildren, Set referencesCollector) { for (TypeElement classElement : elementUtil.extractSortedElements(element)) { referencesCollector.add(buildClassReference(classElement)); - packageChildren.add(classLookup.extractUid(classElement)); + packageChildren.add(classLookup.extractItem(classElement)); addChildrenReferences(classElement, packageChildren, referencesCollector); } } @@ -132,13 +139,13 @@ void populateItemFields(MetadataFileItem item, BaseLookup item.setContent(lookup.extractContent(element)); } - MetadataFile buildClassYmlFile(TypeElement classElement) { + MetadataFile buildClassYmlFile(TypeElement classElement, TocItem tocItem) { String fileName = classLookup.extractHref(classElement); MetadataFile classMetadataFile = new MetadataFile(outputPath, fileName); addClassInfo(classElement, classMetadataFile); - addConstructorsInfo(classElement, classMetadataFile); - addMethodsInfo(classElement, classMetadataFile); - addFieldsInfo(classElement, classMetadataFile); + addConstructorsInfo(classElement, classMetadataFile, tocItem); + addMethodsInfo(classElement, classMetadataFile, tocItem); + addFieldsInfo(classElement, classMetadataFile, tocItem); addReferencesInfo(classElement, classMetadataFile); applyPostProcessing(classMetadataFile); return classMetadataFile; @@ -158,11 +165,11 @@ void addClassInfo(TypeElement classElement, MetadataFile classMetadataFile) { classMetadataFile.getItems().add(classItem); } - void addChildren(TypeElement classElement, List children) { - collect(classElement, children, ElementFilter::constructorsIn, classItemsLookup::extractUid); - collect(classElement, children, ElementFilter::methodsIn, classItemsLookup::extractUid); - collect(classElement, children, ElementFilter::fieldsIn, classItemsLookup::extractUid); - collect(classElement, children, ElementFilter::typesIn, String::valueOf); + void addChildren(TypeElement classElement, List children) { + collect(classElement, children, ElementFilter::constructorsIn, classItemsLookup::extractItem); + collect(classElement, children, ElementFilter::methodsIn, classItemsLookup::extractItem); + collect(classElement, children, ElementFilter::fieldsIn, classItemsLookup::extractItem); + collect(classElement, children, ElementFilter::typesIn, classItemsLookup::extractItem); } List filterPrivateElements(List elements) { @@ -170,16 +177,16 @@ List filterPrivateElements(List elements) .filter(element -> !Utils.isPrivateOrPackagePrivate(element)).collect(Collectors.toList()); } - void collect(TypeElement classElement, List children, + void collect(TypeElement classElement, List children, Function, List> selectFunc, - Function mapFunc) { + Function mapFunc) { List elements = selectFunc.apply(classElement.getEnclosedElements()); children.addAll(filterPrivateElements(elements).stream() .map(mapFunc).collect(Collectors.toList())); } - void addConstructorsInfo(TypeElement classElement, MetadataFile classMetadataFile) { + void addConstructorsInfo(TypeElement classElement, MetadataFile classMetadataFile, TocItem tocItem) { for (ExecutableElement constructorElement : ElementFilter.constructorsIn(classElement.getEnclosedElements())) { MetadataFileItem constructorItem = buildMetadataFileItem(constructorElement); constructorItem.setOverload(classItemsLookup.extractOverload(constructorElement)); @@ -189,10 +196,15 @@ void addConstructorsInfo(TypeElement classElement, MetadataFile classMetadataFil addParameterReferences(constructorItem, classMetadataFile); addOverloadReferences(constructorItem, classMetadataFile); + + if(!classElement.getKind().equals(ElementKind.ENUM)){ + tocItem.getItems().add( + new TocItem(constructorItem.getOverload(), constructorItem.getShortName(), constructorItem.getType().toLowerCase())); + } } } - void addMethodsInfo(TypeElement classElement, MetadataFile classMetadataFile) { + void addMethodsInfo(TypeElement classElement, MetadataFile classMetadataFile, TocItem tocItem) { ElementFilter.methodsIn(classElement.getEnclosedElements()).stream() .filter(methodElement -> !Utils.isPrivateOrPackagePrivate(methodElement)) .forEach(methodElement -> { @@ -209,10 +221,15 @@ void addMethodsInfo(TypeElement classElement, MetadataFile classMetadataFile) { addParameterReferences(methodItem, classMetadataFile); addReturnReferences(methodItem, classMetadataFile); addOverloadReferences(methodItem, classMetadataFile); + + if(!classElement.getKind().equals(ElementKind.ENUM)){ + tocItem.getItems().add( + new TocItem(methodItem.getOverload(), methodItem.getShortName(), methodItem.getType().toLowerCase())); + } }); } - void addFieldsInfo(TypeElement classElement, MetadataFile classMetadataFile) { + void addFieldsInfo(TypeElement classElement, MetadataFile classMetadataFile,TocItem tocItem) { ElementFilter.fieldsIn(classElement.getEnclosedElements()).stream() .filter(fieldElement -> !Utils.isPrivateOrPackagePrivate(fieldElement)) .forEach(fieldElement -> { @@ -221,6 +238,11 @@ void addFieldsInfo(TypeElement classElement, MetadataFile classMetadataFile) { fieldItem.setReturn(classItemsLookup.extractReturn(fieldElement)); classMetadataFile.getItems().add(fieldItem); addReturnReferences(fieldItem, classMetadataFile); + + if(classElement.getKind() != ElementKind.ENUM) { + tocItem.getItems().add( + new TocItem(fieldItem.getUid(), fieldItem.getName(), fieldItem.getType().toLowerCase())); + } }); } @@ -307,6 +329,33 @@ void applyPostProcessing(MetadataFile classMetadataFile) { expandComplexGenericsInReferences(classMetadataFile); } + private static void writePackageContentToYml(MetadataFile pack) { + for (MetadataFileItem item : pack.getItems()) { + PackageModel model = new PackageModel(item, pack.getFileNameWithPath());; + FileUtil.dumpToFile(model); + } + } + + private void writeTypeContentToYml(MetadataFile typeItem) { + MetadataFileItem item = typeItem.getItems().iterator().next(); + String type = item.getType(); + switch (type.toLowerCase()) { + case "class": + case "interface": + TypeModel typeModel = new TypeModel(item, typeItem.getFileNameWithPath(), getOutputPath()); + FileUtil.dumpToFile(typeModel); + break; + case "enum": + EnumModel enumModel = new EnumModel(item, typeItem.getFileNameWithPath()); + FileUtil.dumpToFile(enumModel); + break; + } + } + + public String getOutputPath() { + return outputPath; + } + /** * Replace one record in 'references' with several records in this way: *
@@ -346,6 +395,12 @@ void populateUidValues(List packageMetadataFiles, List {
                             Optional.ofNullable(syntax.getParameters()).ifPresent(
                                     methodParams -> methodParams.forEach(
diff --git a/src/main/java/com/microsoft/lookup/BaseLookup.java b/src/main/java/com/microsoft/lookup/BaseLookup.java
index 68b6fdd..9619d04 100644
--- a/src/main/java/com/microsoft/lookup/BaseLookup.java
+++ b/src/main/java/com/microsoft/lookup/BaseLookup.java
@@ -45,6 +45,10 @@ protected BaseLookup(DocletEnvironment environment) {
         this.environment = environment;
     }
 
+    public ExtendedMetadataFileItem extractItem(T key) {
+        return resolve(key);
+    }
+
     protected ExtendedMetadataFileItem resolve(T key) {
         ExtendedMetadataFileItem value = map.get(key);
         if (value == null) {
diff --git a/src/main/java/com/microsoft/lookup/ClassItemsLookup.java b/src/main/java/com/microsoft/lookup/ClassItemsLookup.java
index 18436b9..c99bc3e 100644
--- a/src/main/java/com/microsoft/lookup/ClassItemsLookup.java
+++ b/src/main/java/com/microsoft/lookup/ClassItemsLookup.java
@@ -4,6 +4,7 @@
 
 import com.microsoft.model.ExceptionItem;
 import com.microsoft.model.MethodParameter;
+import com.microsoft.model.Field;
 import com.microsoft.model.Return;
 
 import com.microsoft.util.CommentHelper;
@@ -81,7 +82,7 @@ protected ExtendedMetadataFileItem buildMetadataFileItem(Element element) {
         if (element instanceof VariableElement) {
             String type = makeTypeShort(String.valueOf(element.asType()));
             result.setFieldContent(String.format("%s %s %s", modifiers, type, elementQName));
-            result.setReturn(extractReturn((VariableElement) element));
+            result.setField(extractField((VariableElement) element));
         }
         return result;
     }
@@ -154,6 +155,11 @@ String extractOverriddenUid(ExecutableElement ovr) {
         return "";
     }
 
+    public Field extractField(VariableElement fieldElement) {
+        var constantValue = (null == fieldElement.getConstantValue()) ? null : fieldElement.getConstantValue().toString();
+        return new Field(String.valueOf(fieldElement.asType()), constantValue);
+    }
+
     /**
      * If the item being inherited from is declared from external compiled package,
      * or is declared in the packages like java.lang.Object,
diff --git a/src/main/java/com/microsoft/lookup/model/ExtendedMetadataFileItem.java b/src/main/java/com/microsoft/lookup/model/ExtendedMetadataFileItem.java
index dea5e61..c185158 100644
--- a/src/main/java/com/microsoft/lookup/model/ExtendedMetadataFileItem.java
+++ b/src/main/java/com/microsoft/lookup/model/ExtendedMetadataFileItem.java
@@ -116,4 +116,20 @@ public void addReferences(Set references) {
     public Set getReferences() {
         return references;
     }
+
+    public String getSyntaxContent() {
+        String content = "";
+        switch (this.getType().toLowerCase()) {
+            case "constructor":
+                content = getConstructorContent();
+                break;
+            case "field":
+                content = getFieldContent();
+                break;
+            case "method":
+                content = getMethodContent();
+                break;
+        }
+        return content;
+    }
 }
diff --git a/src/main/java/com/microsoft/model/ExceptionItem.java b/src/main/java/com/microsoft/model/ExceptionItem.java
index b833f6b..a5db62c 100644
--- a/src/main/java/com/microsoft/model/ExceptionItem.java
+++ b/src/main/java/com/microsoft/model/ExceptionItem.java
@@ -1,13 +1,22 @@
 package com.microsoft.model;
 
+import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+import com.microsoft.util.XrefHelper;
+
 public class ExceptionItem {
 
+    @JsonIgnore
     private final String type;
+    @JsonProperty("type")
+    private String exceptionXrefString;
     private final String description;
 
     public ExceptionItem(String type, String description) {
         this.type = type;
         this.description = description;
+        this.exceptionXrefString = XrefHelper.generateXrefString(type, XrefHelper.XrefOption.SHORTNAME);
     }
 
     public String getType() {
@@ -17,4 +26,8 @@ public String getType() {
     public String getDescription() {
         return description;
     }
+
+    public String getExceptionXrefString() {
+        return exceptionXrefString;
+    }
 }
diff --git a/src/main/java/com/microsoft/model/Field.java b/src/main/java/com/microsoft/model/Field.java
new file mode 100644
index 0000000..ddf1de9
--- /dev/null
+++ b/src/main/java/com/microsoft/model/Field.java
@@ -0,0 +1,34 @@
+package com.microsoft.model;
+
+import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.fasterxml.jackson.annotation.JsonProperty;
+import com.microsoft.util.XrefHelper;
+
+public class Field {
+
+    @JsonIgnore
+    private final String fieldType;
+    @JsonProperty("description")
+    private String fieldDescription;
+    @JsonProperty("type")
+    private String fieldXrefString;
+    private String value;
+
+    public String getFieldDescription() {
+        return fieldDescription;
+    }
+
+    public String getFieldXrefString() {
+        return fieldXrefString;
+    }
+
+    public String getValue() {
+        return value;
+    }
+
+    public Field(String fieldType, String value) {
+        this.fieldType = fieldType;
+        this.value = value ;
+        this.fieldXrefString = XrefHelper.generateXrefString(fieldType, XrefHelper.XrefOption.SHORTNAME);
+    }
+}
\ No newline at end of file
diff --git a/src/main/java/com/microsoft/model/MetadataFile.java b/src/main/java/com/microsoft/model/MetadataFile.java
index 7676dd2..812a6ee 100644
--- a/src/main/java/com/microsoft/model/MetadataFile.java
+++ b/src/main/java/com/microsoft/model/MetadataFile.java
@@ -32,7 +32,7 @@ public Set getReferences() {
     public String getFileContent() {
         Set sortedSet = new TreeSet<>(this.items);
         this.items = sortedSet;
-        return METADATA_FILE_HEADER + YamlUtil.objectToYamlString(this);
+        return METADATA_FILE_HEADER + YamlUtil.objectToYamlString(this, this.fileName);
     }
 
     @JsonIgnore
diff --git a/src/main/java/com/microsoft/model/MetadataFileItem.java b/src/main/java/com/microsoft/model/MetadataFileItem.java
index d953ea7..d219abb 100644
--- a/src/main/java/com/microsoft/model/MetadataFileItem.java
+++ b/src/main/java/com/microsoft/model/MetadataFileItem.java
@@ -1,5 +1,6 @@
 package com.microsoft.model;
 
+import com.fasterxml.jackson.annotation.JsonIgnore;
 import com.fasterxml.jackson.annotation.JsonProperty;
 import com.fasterxml.jackson.annotation.JsonPropertyOrder;
 
@@ -18,12 +19,13 @@ public class MetadataFileItem implements Comparable {
     private final String uid;
     private String id;
     private String parent;
-    private List children = new ArrayList<>();
+    private List children = new ArrayList<>();
     private String href;
     private String[] langs;
     private String name;
     private String nameWithType;
     private String fullName;
+    private Field field;
     private String overload;
     private String overridden;
     private String type;
@@ -31,10 +33,10 @@ public class MetadataFileItem implements Comparable {
     private String packageName;
     private String summary;
     private Syntax syntax;
-    private List inheritance;
+    private List inheritance  = new ArrayList<>();
     @JsonProperty("implements")
-    private List interfaces;
-    private List exceptions;
+    private List interfaces  = new ArrayList<>();
+    private List exceptions  = new ArrayList<>();
     private boolean isExternal;
     @JsonProperty("spec.java")
     private List specForJava = new ArrayList<>();
@@ -88,7 +90,7 @@ public void setParent(String parent) {
         this.parent = parent;
     }
 
-    public List getChildren() {
+    public List getChildren() {
         Collections.sort(children);
         return children;
     }
@@ -138,7 +140,7 @@ public void setOverload(String overload) {
     }
 
     public String getType() {
-        return type;
+        return type.toLowerCase();
     }
 
     public void setType(String type) {
@@ -237,10 +239,23 @@ public void setOverridden(String overridden) {
         this.overridden = overridden;
     }
 
+    public Field getField() {
+        return field;
+    }
+
+    public void setField(Field field) {
+        this.field = field;
+    }
+
     public String getOverridden() {
         return overridden;
     }
 
+    @JsonIgnore
+    public String getShortName(){
+        return name.replaceAll("\\(.*\\)", "");
+    }
+
     @Override
     public boolean equals(Object o) {
         if (this == o) {
diff --git a/src/main/java/com/microsoft/model/MethodParameter.java b/src/main/java/com/microsoft/model/MethodParameter.java
index 2c6d5c0..ed78136 100644
--- a/src/main/java/com/microsoft/model/MethodParameter.java
+++ b/src/main/java/com/microsoft/model/MethodParameter.java
@@ -1,15 +1,25 @@
 package com.microsoft.model;
 
+import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+import com.microsoft.util.XrefHelper;
+
 public class MethodParameter {
 
+    @JsonProperty("name")
     private final String id;
+    @JsonIgnore
     private final String type;
     private String description;
+    @JsonProperty("type")
+    private String typeXrefSting;
 
     public MethodParameter(String id, String type, String description) {
         this.id = id;
         this.type = type;
         this.description = description;
+        this.typeXrefSting = XrefHelper.generateXrefString(type, XrefHelper.XrefOption.SHORTNAME);
     }
 
     public String getId() {
diff --git a/src/main/java/com/microsoft/model/Return.java b/src/main/java/com/microsoft/model/Return.java
index 712c282..2ac9daf 100644
--- a/src/main/java/com/microsoft/model/Return.java
+++ b/src/main/java/com/microsoft/model/Return.java
@@ -1,21 +1,28 @@
 package com.microsoft.model;
 
+import com.fasterxml.jackson.annotation.JsonIgnore;
 import com.fasterxml.jackson.annotation.JsonProperty;
 
+import com.microsoft.util.XrefHelper;
+
 public class Return {
 
-    @JsonProperty("type")
+    @JsonIgnore
     private final String returnType;
     @JsonProperty("description")
     private String returnDescription;
+    @JsonProperty("type")
+    private String returnXrefString;
 
     public Return(String returnType, String returnDescription) {
         this.returnType = returnType;
         this.returnDescription = returnDescription;
+        this.returnXrefString = XrefHelper.generateXrefString(returnType, XrefHelper.XrefOption.SHORTNAME);
     }
 
     public Return(String returnType) {
         this.returnType = returnType;
+        this.returnXrefString = XrefHelper.generateXrefString(returnType, XrefHelper.XrefOption.SHORTNAME);
     }
 
     public String getReturnType() {
@@ -29,4 +36,8 @@ public String getReturnDescription() {
     public void setReturnDescription(String returnDescription) {
         this.returnDescription = returnDescription;
     }
+
+    public String getReturnXrefString() {
+        return returnXrefString;
+    }
 }
diff --git a/src/main/java/com/microsoft/model/Syntax.java b/src/main/java/com/microsoft/model/Syntax.java
index 3320d69..2f72151 100644
--- a/src/main/java/com/microsoft/model/Syntax.java
+++ b/src/main/java/com/microsoft/model/Syntax.java
@@ -10,7 +10,7 @@ public class Syntax {
     private List parameters;
     @JsonProperty("return")
     private Return returnValue;
-    private List typeParameters;
+    private List typeParameters  = new ArrayList<>();
 
     public String getContent() {
         return content;
diff --git a/src/main/java/com/microsoft/model/TocFile.java b/src/main/java/com/microsoft/model/TocFile.java
index d0bb545..a885276 100644
--- a/src/main/java/com/microsoft/model/TocFile.java
+++ b/src/main/java/com/microsoft/model/TocFile.java
@@ -2,13 +2,14 @@
 
 import com.microsoft.util.YamlUtil;
 import java.io.File;
-import java.util.ArrayList;
+import java.util.*;
 
 public class TocFile extends ArrayList implements YmlFile {
 
     private final static String TOC_FILE_HEADER = "### YamlMime:TableOfContent\n";
     private final static String TOC_FILE_NAME = "toc.yml";
     private final String outputPath;
+    private  ArrayList items = new ArrayList<>();
 
     public TocFile(String outputPath) {
         this.outputPath = outputPath;
@@ -18,9 +19,14 @@ public void addTocItem(TocItem packageTocItem) {
         add(packageTocItem);
     }
 
+    public ArrayList getItems() {
+        Collections.sort(items, Comparator.comparing(TocItem::getUid));
+        return items;
+    }
+
     @Override
     public String getFileContent() {
-        return TOC_FILE_HEADER + YamlUtil.objectToYamlString(this);
+        return TOC_FILE_HEADER + YamlUtil.objectToYamlString(this, TOC_FILE_NAME);
     }
 
     @Override
diff --git a/src/main/java/com/microsoft/model/TocItem.java b/src/main/java/com/microsoft/model/TocItem.java
index 66e5530..e1c8e47 100644
--- a/src/main/java/com/microsoft/model/TocItem.java
+++ b/src/main/java/com/microsoft/model/TocItem.java
@@ -1,19 +1,28 @@
 package com.microsoft.model;
 
-import java.util.ArrayList;
-import java.util.List;
+import java.util.*;
 
-public class TocItem {
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+public class TocItem implements Comparable{
 
     private final String uid;
     private final String name;
-    private List items = new ArrayList<>();
+    @JsonProperty("type")
+    private String type;
+    private Set items = new HashSet<>();
 
     public TocItem(String uid, String name) {
         this.uid = uid;
         this.name = name;
     }
 
+    public TocItem(String uid, String name, String type) {
+        this.uid = uid;
+        this.name = name;
+        this.type = type.toLowerCase();
+    }
+
     public String getUid() {
         return uid;
     }
@@ -22,7 +31,33 @@ public String getName() {
         return name;
     }
 
-    public List getItems() {
+    public Set getItems() {
+        Set sortedSet = new TreeSet<>(this.items);
+        this.items = sortedSet;
         return items;
     }
+
+    @Override
+    public int hashCode() {
+        return uid.hashCode();
+    }
+
+    @Override
+    public boolean equals(Object o) {
+        if (this == o) {
+            return true;
+        }
+        if (o == null || getClass() != o.getClass()) {
+            return false;
+        }
+
+        TocItem that = (TocItem) o;
+
+        return uid.equals(that.uid);
+    }
+
+    @Override
+    public int compareTo(TocItem item) {
+        return this.getUid().compareTo(item.getUid());
+        }
 }
diff --git a/src/main/java/com/microsoft/model/TypeParameter.java b/src/main/java/com/microsoft/model/TypeParameter.java
index df2a5a3..c4f7bb6 100644
--- a/src/main/java/com/microsoft/model/TypeParameter.java
+++ b/src/main/java/com/microsoft/model/TypeParameter.java
@@ -1,8 +1,12 @@
 package com.microsoft.model;
 
-public class TypeParameter {
+import com.fasterxml.jackson.annotation.JsonProperty;
 
+public class TypeParameter implements Comparable {
+
+    @JsonProperty("name")
     private final String id;
+    private String description;
 
     public TypeParameter(String id) {
         this.id = id;
@@ -11,4 +15,17 @@ public TypeParameter(String id) {
     public String getId() {
         return id;
     }
+
+    public String getDescription() {
+        return description;
+    }
+
+    public void setDescription(String description) {
+        this.description = description;
+    }
+
+    @Override
+    public int compareTo(TypeParameter item) {
+        return this.getId().compareTo(item.getId());
+    }
 }
diff --git a/src/main/java/com/microsoft/model/sdp/BaseModel.java b/src/main/java/com/microsoft/model/sdp/BaseModel.java
new file mode 100644
index 0000000..8dff16f
--- /dev/null
+++ b/src/main/java/com/microsoft/model/sdp/BaseModel.java
@@ -0,0 +1,68 @@
+package com.microsoft.model.sdp;
+
+public class BaseModel {
+
+    //
+    private String uid;
+    private String fullName;
+    private String name;
+    private String nameWithType;
+    private String summary;
+    //
+
+    //
+    public BaseModel(String uid, String name) {
+        this.uid = uid;
+        this.name = name;
+    }
+
+    public BaseModel(String uid, String name, String fullName, String nameWithType) {
+        this.uid = uid;
+        this.fullName = fullName;
+        this.name = name;
+        this.nameWithType = nameWithType;
+    }
+    //
+
+    //
+    public String getUid() {
+        return uid;
+    }
+
+    public void setUid(String uid) {
+        this.uid = uid;
+    }
+
+    public String getFullName() {
+        return fullName;
+    }
+
+    public void setFullName(String fullName) {
+        this.fullName = fullName;
+    }
+
+    public String getName() {
+        return name;
+    }
+
+    public void setName(String name) {
+        this.name = name;
+    }
+
+    public String getNameWithType() {
+        return nameWithType;
+    }
+
+    public void setNameWithType(String nameWithType) {
+        this.nameWithType = nameWithType;
+    }
+
+    public String getSummary() {
+        return summary;
+    }
+
+    public void setSummary(String summary) {
+        this.summary = summary;
+    }
+    //
+}
diff --git a/src/main/java/com/microsoft/model/sdp/ExecutableModel.java b/src/main/java/com/microsoft/model/sdp/ExecutableModel.java
new file mode 100644
index 0000000..2101de9
--- /dev/null
+++ b/src/main/java/com/microsoft/model/sdp/ExecutableModel.java
@@ -0,0 +1,91 @@
+package com.microsoft.model.sdp;
+
+import java.util.ArrayList;
+import java.util.Collections;
+import java.util.List;
+
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+import com.microsoft.lookup.model.ExtendedMetadataFileItem;
+import com.microsoft.model.*;
+
+public class ExecutableModel extends BaseModel implements Comparable {
+
+    //
+    private String overridden;
+    private List parameters;
+    @JsonProperty("returns")
+    private Return returnType;
+    private Field field;
+    private String syntax;
+    private List typeParameters = new ArrayList<>();
+    private List exceptions = new ArrayList<>();
+    //
+
+    //
+    public ExecutableModel(MetadataFileItem item) {
+        super(item.getUid(), item.getName(), item.getFullName(), item.getNameWithType());
+        this.overridden = item.getOverridden();
+        this.syntax = ((ExtendedMetadataFileItem) item).getSyntaxContent();
+        if (item.getType().toLowerCase().equals("field")) {
+            this.field = item.getField();
+        } else {
+            this.returnType = ((ExtendedMetadataFileItem) item).getReturn();
+            this.parameters = ((ExtendedMetadataFileItem) item).getParameters();
+        }
+        if (!(item.getSummary() == null || item.getSummary().isEmpty())) {
+            this.setSummary(item.getSummary());
+        }
+
+        this.exceptions.addAll(item.getExceptions());
+    }
+    //
+
+    //
+    public List getExceptions() {
+        return exceptions;
+    }
+
+    public String getOverridden() {
+        return overridden;
+    }
+
+    public void setOverridden(String overridden) {
+        this.overridden = overridden;
+    }
+
+    public List getParameters() {
+        return parameters;
+    }
+
+    public void setParameters(List parameters) {
+        this.parameters = parameters;
+    }
+
+    public Return getReturnType() {
+        return returnType;
+    }
+
+    public void setReturnType(Return returnType) {
+        this.returnType = returnType;
+    }
+
+    public String getSyntax() {
+        return syntax;
+    }
+
+    public void setSyntax(String syntax) {
+        this.syntax = syntax;
+    }
+
+    public List getTypeParameters() {
+        Collections.sort(typeParameters);
+        return typeParameters;
+    }
+    //
+
+    @Override
+    public int compareTo(ExecutableModel item) {
+        return this.getUid().compareTo(item.getUid());
+    }
+}
diff --git a/src/main/java/com/microsoft/model/sdp/FieldModel.java b/src/main/java/com/microsoft/model/sdp/FieldModel.java
new file mode 100644
index 0000000..09b0138
--- /dev/null
+++ b/src/main/java/com/microsoft/model/sdp/FieldModel.java
@@ -0,0 +1,28 @@
+package com.microsoft.model.sdp;
+
+import com.microsoft.model.MetadataFileItem;
+
+public class FieldModel extends BaseModel implements Comparable {
+
+    //
+    private String syntax;
+    //
+
+    //
+    public FieldModel(MetadataFileItem item) {
+        super(item.getUid(), item.getName(), item.getFullName(), item.getNameWithType());
+        if (!(item.getSummary() == null || item.getSummary().isEmpty())) {
+            this.setSummary(item.getSummary());
+        }
+        if (!(item.getSyntax() == null || item.getSyntax().getContent().isEmpty())) {
+            this.syntax = item.getSyntax().getContent();
+        }
+
+    }
+    //
+
+    @Override
+    public int compareTo(FieldModel item) {
+        return this.getUid().compareTo(item.getUid());
+    }
+}
diff --git a/src/main/java/com/microsoft/model/sdp/TypeBaseModel.java b/src/main/java/com/microsoft/model/sdp/TypeBaseModel.java
new file mode 100644
index 0000000..45ae446
--- /dev/null
+++ b/src/main/java/com/microsoft/model/sdp/TypeBaseModel.java
@@ -0,0 +1,63 @@
+package com.microsoft.model.sdp;
+
+import java.util.ArrayList;
+import java.util.Collections;
+import java.util.List;
+
+import com.fasterxml.jackson.annotation.JsonInclude;
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+public class TypeBaseModel extends BaseModel {
+
+    //
+    @JsonProperty("implements")
+    private List implementedInterfaces = new ArrayList<>();
+    private List inheritances = new ArrayList<>();
+    private List inheritedMembers = new ArrayList<>();
+    @JsonInclude(JsonInclude.Include.ALWAYS)
+    @JsonProperty("metadata")
+    private Object metadata = new Object();
+    @JsonProperty("package")
+    private String packageName;
+    private String syntax;
+    //
+
+    //
+    public TypeBaseModel(String uid, String name) {
+        super(uid, name);
+    }
+    //
+
+    //
+
+    public List getImplementedInterfaces() {
+        Collections.sort(implementedInterfaces);
+        return implementedInterfaces;
+    }
+
+    public List getInheritances() {
+        return inheritances;
+    }
+
+    public List getInheritedMembers() {
+        return inheritedMembers;
+    }
+
+    public String getPackageName() {
+        return packageName;
+    }
+
+    public void setPackageName(String packageName) {
+        this.packageName = packageName;
+    }
+
+    public String getSyntax() {
+        return syntax;
+    }
+
+    public void setSyntax(String syntax) {
+        this.syntax = syntax;
+    }
+    //
+
+}
diff --git a/src/main/java/com/microsoft/model/sdp/file/EnumModel.java b/src/main/java/com/microsoft/model/sdp/file/EnumModel.java
new file mode 100644
index 0000000..9573f8e
--- /dev/null
+++ b/src/main/java/com/microsoft/model/sdp/file/EnumModel.java
@@ -0,0 +1,88 @@
+package com.microsoft.model.sdp.file;
+
+import java.util.ArrayList;
+import java.util.Collections;
+import java.util.List;
+
+import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.microsoft.model.MetadataFileItem;
+
+import com.microsoft.model.YmlFile;
+import com.microsoft.model.sdp.ExecutableModel;
+import com.microsoft.model.sdp.FieldModel;
+import com.microsoft.model.sdp.TypeBaseModel;
+import com.microsoft.util.XrefHelper;
+import com.microsoft.util.YamlUtil;
+
+public class EnumModel extends TypeBaseModel implements YmlFile {
+
+    //
+    private final static String METADATA_FILE_HEADER = "### YamlMime:JavaEnum\n";
+    private final String fileNameWithPath;
+
+    private List fields = new ArrayList<>();
+    private List methods = new ArrayList<>();
+    //
+
+    //
+    public EnumModel(MetadataFileItem item, String fileNameWithPath) {
+        super(item.getUid(), item.getName());
+        this.fileNameWithPath = fileNameWithPath;
+        this.setFullName(item.getFullName());
+        this.setNameWithType(item.getNameWithType());
+        this.setPackageName(item.getPackageName());
+
+        if (!(item.getSummary() == null || item.getSummary().isEmpty())) {
+            this.setSummary(item.getSummary());
+        }
+
+        item.getInterfaces().forEach(
+                type -> this.getImplementedInterfaces().add(XrefHelper.generateXrefString(type, XrefHelper.XrefOption.SHORTNAME)));
+        item.getInheritance().forEach(
+                type -> this.getInheritances().add(XrefHelper.generateXrefString(type, XrefHelper.XrefOption.DEFAULT)));
+
+        this.getInheritedMembers().addAll(item.getInheritedMethods());
+
+        if (item.getSyntax() != null) {
+            this.setSyntax(item.getSyntax().getContent());
+        }
+
+        for (var child : item.getChildren()) {
+            String type = child.getType();
+            switch (type.toLowerCase()) {
+                case "field":
+                    this.getFields().add(new FieldModel(child));
+                    break;
+                case "method":
+                    this.getMethods().add(new ExecutableModel(child));
+                    break;
+            }
+        }
+    }
+
+    //
+
+    //
+    public List getFields() {
+        Collections.sort(fields);
+        return fields;
+    }
+
+    public List getMethods() {
+        Collections.sort(methods);
+        return methods;
+    }
+    //
+
+    @JsonIgnore
+    @Override
+    public String getFileContent() {
+        return METADATA_FILE_HEADER + YamlUtil.objectToYamlString(this, this.getFileNameWithPath());
+    }
+
+    @JsonIgnore
+    @Override
+    public String getFileNameWithPath() {
+        return fileNameWithPath;
+    }
+}
diff --git a/src/main/java/com/microsoft/model/sdp/file/MemberModel.java b/src/main/java/com/microsoft/model/sdp/file/MemberModel.java
new file mode 100644
index 0000000..3d06355
--- /dev/null
+++ b/src/main/java/com/microsoft/model/sdp/file/MemberModel.java
@@ -0,0 +1,98 @@
+package com.microsoft.model.sdp.file;
+
+import java.io.File;
+import java.util.ArrayList;
+import java.util.List;
+
+import org.apache.commons.lang3.RegExUtils;
+
+import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.fasterxml.jackson.annotation.JsonInclude;
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+import com.microsoft.model.MetadataFileItem;
+import com.microsoft.model.YmlFile;
+import com.microsoft.model.sdp.BaseModel;
+import com.microsoft.model.sdp.ExecutableModel;
+import com.microsoft.util.YamlUtil;
+
+public class MemberModel extends BaseModel implements YmlFile {
+
+    //
+    private final static String METADATA_FILE_HEADER = "### YamlMime:JavaMember\n";
+    private final String outputPath;
+
+    private List members = new ArrayList<>();
+    @JsonInclude(JsonInclude.Include.ALWAYS)
+    @JsonProperty("metadata")
+    private Object metadata = new Object();
+    @JsonProperty("package")
+    private String packageName;
+    private String type;
+    //
+
+    //
+    public MemberModel(String uid, MetadataFileItem item, String outputPath) {
+        super(uid, item.getName());
+        this.outputPath = outputPath;
+        this.setFullName(RegExUtils.removeAll(item.getFullName(), "\\(.*\\)$"));
+        this.setName(RegExUtils.removeAll(item.getName(), "\\(.*\\)$"));
+        this.setNameWithType(RegExUtils.removeAll(item.getNameWithType(), "\\(.*\\)$"));
+        this.setPackageName(item.getPackageName());
+        this.setType(item.getType());
+
+        members.add(new ExecutableModel(item));
+
+    }
+
+    public MemberModel(MetadataFileItem item, String outputPath) {
+        super(item.getUid(), item.getName());
+        this.outputPath = outputPath;
+        this.setFullName(item.getFullName());
+        this.setNameWithType(item.getNameWithType());
+        this.setPackageName(item.getPackageName());
+        this.setType(item.getType());
+
+        members.add(new ExecutableModel(item));
+
+    }
+    //
+
+    //
+    public List getMembers() {
+        return members;
+    }
+
+    public String getPackageName() {
+        return packageName;
+    }
+
+    public void setPackageName(String packageName) {
+        this.packageName = packageName;
+    }
+
+    public String getType() {
+        return type.toLowerCase();
+    }
+
+    public void setType(String type) {
+        this.type = type;
+    }
+    //
+
+    @JsonIgnore
+    @Override
+    public String getFileContent() {
+        return METADATA_FILE_HEADER + YamlUtil.objectToYamlString(this, this.getFileNameWithPath());
+    }
+
+    @JsonIgnore
+    @Override
+    public String getFileNameWithPath() {
+        return this.outputPath + File.separator + this.getFileName();
+    }
+
+    private String getFileName() {
+        return this.getUid().replace("*", "") + ".yml";
+    }
+}
diff --git a/src/main/java/com/microsoft/model/sdp/file/PackageModel.java b/src/main/java/com/microsoft/model/sdp/file/PackageModel.java
new file mode 100644
index 0000000..908845b
--- /dev/null
+++ b/src/main/java/com/microsoft/model/sdp/file/PackageModel.java
@@ -0,0 +1,97 @@
+package com.microsoft.model.sdp.file;
+
+import java.util.*;
+
+import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.fasterxml.jackson.annotation.JsonInclude;
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+import com.microsoft.model.MetadataFileItem;
+import com.microsoft.model.YmlFile;
+import com.microsoft.model.sdp.BaseModel;
+import com.microsoft.util.YamlUtil;
+
+
+public class PackageModel extends BaseModel implements YmlFile {
+
+    //
+    private final static String METADATA_FILE_HEADER = "### YamlMime:JavaPackage\n";
+    private final String fileNameWithPath;
+
+    private List classes = new ArrayList<>();
+    private List enums = new ArrayList<>();
+    private List interfaces = new ArrayList<>();
+    @JsonInclude(JsonInclude.Include.ALWAYS)
+    @JsonProperty("metadata")
+    private Object metadata = new Object();
+    @JsonProperty("package")
+    private String packageName;
+    //
+
+    //
+    public PackageModel(MetadataFileItem item, String fileNameWithPath) {
+        super(item.getUid(), item.getName());
+        this.fileNameWithPath = fileNameWithPath;
+        this.setFullName(item.getFullName());
+        this.setPackageName(item.getFullName());
+
+        if (!(item.getSummary() == null || item.getSummary().isEmpty())) {
+            this.setSummary(item.getSummary());
+        }
+
+        for (var child : item.getChildren()) {
+            String type = child.getType();
+            switch (type.toLowerCase()) {
+                case "class":
+                    this.getClasses().add(child.getUid());
+                    break;
+                case "enum":
+                    this.getEnums().add(child.getUid());
+                    break;
+                case "interface":
+                    this.getInterfaces().add(child.getUid());
+                    break;
+            }
+        }
+    }
+    //
+
+    //
+    public List getClasses() {
+        Collections.sort(classes);
+        return classes;
+
+    }
+
+    public List getEnums() {
+        Collections.sort(enums);
+        return enums;
+    }
+
+    public List getInterfaces() {
+
+        Collections.sort(interfaces);
+        return interfaces;
+    }
+
+    public String getPackageName() {
+        return packageName;
+    }
+
+    public void setPackageName(String packageName) {
+        this.packageName = packageName;
+    }
+    //
+
+    @JsonIgnore
+    @Override
+    public String getFileContent() {
+        return METADATA_FILE_HEADER + YamlUtil.objectToYamlString(this, this.getFileNameWithPath());
+    }
+
+    @JsonIgnore
+    @Override
+    public String getFileNameWithPath() {
+        return fileNameWithPath;
+    }
+}
diff --git a/src/main/java/com/microsoft/model/sdp/file/TypeModel.java b/src/main/java/com/microsoft/model/sdp/file/TypeModel.java
new file mode 100644
index 0000000..7ff078b
--- /dev/null
+++ b/src/main/java/com/microsoft/model/sdp/file/TypeModel.java
@@ -0,0 +1,146 @@
+package com.microsoft.model.sdp.file;
+
+import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.microsoft.model.MetadataFileItem;
+import com.microsoft.model.TypeParameter;
+import com.microsoft.model.YmlFile;
+import com.microsoft.model.sdp.ExecutableModel;
+import com.microsoft.model.sdp.TypeBaseModel;
+import com.microsoft.model.sdp.file.MemberModel;
+import com.microsoft.util.FileUtil;
+import com.microsoft.util.XrefHelper;
+import com.microsoft.util.YamlUtil;
+
+import java.io.File;
+import java.util.*;
+
+public class TypeModel extends TypeBaseModel implements YmlFile {
+
+    //
+    private final static String METADATA_FILE_HEADER = "### YamlMime:JavaType\n";
+    private final String fileNameWithPath;
+    private String outputPath;
+
+    private List constructors = new ArrayList<>();
+    private List fields = new ArrayList<>();
+    private List methods = new ArrayList<>();
+    private String type;
+    private List typeParameters = new ArrayList<>();
+
+    @JsonIgnore
+    private Map memberCache = new HashMap<>();
+    //
+
+    @JsonIgnore
+    //
+    public TypeModel(MetadataFileItem item, String fileNameWithPath, String outputPath) {
+        super(item.getUid(), item.getName());
+        this.outputPath = outputPath;
+        this.fileNameWithPath = fileNameWithPath;
+        this.setFullName(item.getFullName());
+        this.setNameWithType(item.getNameWithType());
+        this.setPackageName(item.getPackageName());
+
+        if (!(item.getSummary() == null || item.getSummary().isEmpty())) {
+            this.setSummary(item.getSummary());
+        }
+
+        item.getInterfaces().forEach(
+                type -> this.getImplementedInterfaces().add(XrefHelper.generateXrefString(type, XrefHelper.XrefOption.SHORTNAME)));
+
+        item.getInheritance().forEach(
+                type -> this.getInheritances().add(XrefHelper.generateXrefString(type, XrefHelper.XrefOption.DEFAULT)));
+
+        this.getInheritedMembers().addAll(item.getInheritedMethods());
+        this.setType(item.getType());
+
+        if (item.getSyntax() != null) {
+            this.setSyntax(item.getSyntax().getContent());
+            this.getTypeParameters().addAll(item.getSyntax().getTypeParameters());
+        }
+
+        for (var child : item.getChildren()) {
+            String type = child.getType();
+            switch (type.toLowerCase()) {
+                case "constructor":
+                    if (this.type.toLowerCase().equals("class")) {
+                        this.getConstructors().add(child.getUid());
+                        buildMember(child, memberCache);
+                    }
+                    break;
+                case "field":
+                    this.getFields().add(child.getUid());
+                    buildField(child);
+                    break;
+                case "method":
+                    this.getMethods().add(child.getUid());
+                    buildMember(child, memberCache);
+                    break;
+            }
+
+            memberCache.forEach((k, v) -> FileUtil.dumpToFile(v));
+        }
+    }
+    //
+
+    //
+    public List getConstructors() {
+        Collections.sort(constructors);
+        return constructors;
+    }
+
+    public List getFields() {
+        Collections.sort(fields);
+        return fields;
+    }
+
+    public List getMethods() {
+        Collections.sort(methods);
+        return methods;
+    }
+
+    public String getType() {
+        return type;
+    }
+
+    public void setType(String type) {
+        this.type = type;
+    }
+
+    public List getTypeParameters() {
+        return typeParameters;
+    }
+
+    public void setTypeParameters(List typeParameters) {
+        this.typeParameters = typeParameters;
+    }
+    //
+
+
+    private void buildMember(MetadataFileItem child, Map memberCache) {
+        String methodUid = child.getOverload();
+        if (memberCache.containsKey(methodUid)) {
+            memberCache.get(methodUid).getMembers().add(new ExecutableModel(child));
+        } else {
+            memberCache.put(methodUid, new MemberModel(methodUid, child, this.outputPath));
+        }
+    }
+
+    private void buildField(MetadataFileItem child) {
+        MemberModel fieldModel =  new MemberModel(child, this.outputPath);
+        FileUtil.dumpToFile(fieldModel);
+
+    }
+
+    @JsonIgnore
+    @Override
+    public String getFileContent() {
+        return METADATA_FILE_HEADER + YamlUtil.objectToYamlString(this, this.getFileNameWithPath());
+    }
+
+    @JsonIgnore
+    @Override
+    public String getFileNameWithPath() {
+        return fileNameWithPath;
+    }
+}
diff --git a/src/main/java/com/microsoft/util/FileUtil.java b/src/main/java/com/microsoft/util/FileUtil.java
index a11ea87..b029506 100644
--- a/src/main/java/com/microsoft/util/FileUtil.java
+++ b/src/main/java/com/microsoft/util/FileUtil.java
@@ -18,7 +18,8 @@ public static void dumpToFile(String content, String fileName) {
             Files.createDirectories(path.getParent());
             Files.write(path, content.getBytes());
         } catch (IOException ioe) {
-            throw new RuntimeException("Error during dump to file", ioe);
+            String exception = "Error during dump to file: " + fileName;
+            throw new RuntimeException(exception, ioe);
         }
     }
 
diff --git a/src/main/java/com/microsoft/util/XrefHelper.java b/src/main/java/com/microsoft/util/XrefHelper.java
new file mode 100644
index 0000000..916ef20
--- /dev/null
+++ b/src/main/java/com/microsoft/util/XrefHelper.java
@@ -0,0 +1,72 @@
+package com.microsoft.util;
+
+import org.apache.commons.lang3.RegExUtils;
+import org.apache.commons.lang3.StringUtils;
+import org.apache.commons.text.StringEscapeUtils;
+
+import java.util.*;
+
+public class XrefHelper {
+
+    public static String generateXrefString(String typeString, XrefOption option) {
+        List types = replaceUidAndSplit(typeString);
+        StringBuilder xrefBuilder = new StringBuilder();
+
+        Optional.ofNullable(types).ifPresent(
+                ref -> types.forEach(
+                        uid -> {
+                            if (uid.equalsIgnoreCase("<")
+                                    || uid.equalsIgnoreCase(">")
+                                    || uid.equalsIgnoreCase(",")
+                                    || uid.equalsIgnoreCase("[]")
+                                    || uid.equalsIgnoreCase("?"))
+                                xrefBuilder.append(StringEscapeUtils.escapeHtml4(uid));
+                            else if (!"".equals(uid)) {
+                                switch (option) {
+                                    case DEFAULT : xrefBuilder.append(getXrefStringDefault(uid));
+                                        break;
+                                    case SHORTNAME: xrefBuilder.append(getXrefStringWithShortName(uid));
+                                        break;
+                                }
+                            }
+                        })
+        );
+
+        return xrefBuilder.toString() ;
+    }
+
+    static List replaceUidAndSplit(String uid) {
+        String retValue = RegExUtils.replaceAll(uid, "\\<", "//", "//>//");
+        retValue = RegExUtils.replaceAll(retValue, ",", "//,//");
+        retValue = RegExUtils.replaceAll(retValue, "\\[\\]", "//[]//");
+
+        return Arrays.asList(StringUtils.split(retValue, "//"));
+    }
+
+    static String getShortName(String uid) {
+
+        StringBuilder singleValue = new StringBuilder();
+        Optional.ofNullable(uid).ifPresent(
+                Param -> {
+                    List strList = new ArrayList<>();
+                    strList = Arrays.asList(StringUtils.split(Param, "."));
+                    singleValue.append(strList.get(strList.size() - 1));
+                }
+        );
+        return singleValue.toString();
+    }
+
+    static String getXrefStringDefault(String uid) {
+        return String.format("", uid);
+    }
+
+    static String getXrefStringWithShortName(String uid) {
+        return String.format("", uid, uid, getShortName(uid));
+    }
+
+    public enum XrefOption {
+        DEFAULT,
+        SHORTNAME
+    }
+}
\ No newline at end of file
diff --git a/src/main/java/com/microsoft/util/YamlUtil.java b/src/main/java/com/microsoft/util/YamlUtil.java
index 9d4bdaf..fe72a3e 100644
--- a/src/main/java/com/microsoft/util/YamlUtil.java
+++ b/src/main/java/com/microsoft/util/YamlUtil.java
@@ -3,7 +3,9 @@
 import com.fasterxml.jackson.annotation.JsonInclude.Include;
 import com.fasterxml.jackson.core.JsonProcessingException;
 import com.fasterxml.jackson.databind.ObjectMapper;
+import com.fasterxml.jackson.databind.SerializationFeature;
 import com.fasterxml.jackson.dataformat.yaml.YAMLFactory;
+import com.fasterxml.jackson.dataformat.yaml.YAMLGenerator;
 import com.fasterxml.jackson.dataformat.yaml.YAMLGenerator.Feature;
 import com.overzealous.remark.IgnoredHtmlElement;
 import com.overzealous.remark.Options;
@@ -31,14 +33,16 @@ protected Remark initialValue() {
         .disable(Feature.WRITE_DOC_START_MARKER)
         .disable(Feature.SPLIT_LINES)
     )
+        .configure(SerializationFeature.FAIL_ON_EMPTY_BEANS, false)
         .setSerializationInclusion(Include.NON_NULL)
         .setSerializationInclusion(Include.NON_EMPTY);
 
-    public static String objectToYamlString(Object object) {
+    public static String objectToYamlString(Object object, String fileName) {
         try {
             return mapper.writeValueAsString(object);
         } catch (JsonProcessingException jpe) {
-            throw new RuntimeException("Could not serialize object to yaml string", jpe);
+            String exception = "Could not serialize object to yaml string for " + fileName;
+            throw new RuntimeException(exception, jpe);
         }
     }
 
diff --git a/src/test/java/com/microsoft/build/YmlFilesBuilderTest.java b/src/test/java/com/microsoft/build/YmlFilesBuilderTest.java
index bbe5a96..a5b73a8 100644
--- a/src/test/java/com/microsoft/build/YmlFilesBuilderTest.java
+++ b/src/test/java/com/microsoft/build/YmlFilesBuilderTest.java
@@ -6,10 +6,7 @@
 import static org.mockito.Mockito.when;
 
 import com.google.testing.compile.CompilationRule;
-import com.microsoft.model.MetadataFile;
-import com.microsoft.model.MetadataFileItem;
-import com.microsoft.model.MethodParameter;
-import com.microsoft.model.Syntax;
+import com.microsoft.model.*;
 import com.sun.source.util.DocTrees;
 
 import java.io.File;
@@ -57,8 +54,9 @@ public void addConstructorsInfoWhenOnlyDefaultConstructor() {
         MetadataFile container = new MetadataFile("output", "name");
         when(environment.getElementUtils()).thenReturn(elements);
         when(environment.getDocTrees()).thenReturn(docTrees);
+        TocItem toc = new TocItem("com.microsoft.samples.subpackage.Person", "com.microsoft.samples.subpackage.Person");
 
-        ymlFilesBuilder.addConstructorsInfo(element, container);
+        ymlFilesBuilder.addConstructorsInfo(element, container, toc);
 
         assertThat("Wrong file name", container.getFileNameWithPath(), is("output" + File.separator + "name"));
         assertThat("Container should contain constructor item", container.getItems().size(), is(1));
@@ -70,8 +68,8 @@ public void addConstructorsInfo() {
         MetadataFile container = new MetadataFile("output", "name");
         when(environment.getElementUtils()).thenReturn(elements);
         when(environment.getDocTrees()).thenReturn(docTrees);
-
-        ymlFilesBuilder.addConstructorsInfo(element, container);
+        TocItem toc = new TocItem("com.microsoft.samples.SuperHero", "com.microsoft.samples.SuperHero");
+        ymlFilesBuilder.addConstructorsInfo(element, container, toc);
 
         assertThat("Wrong file name", container.getFileNameWithPath(), is("output" + File.separator + "name"));
         Collection constructorItems = container.getItems();
diff --git a/src/test/java/com/microsoft/doclet/DocletRunnerTest.java b/src/test/java/com/microsoft/doclet/DocletRunnerTest.java
index 6c0439f..9ad1f99 100644
--- a/src/test/java/com/microsoft/doclet/DocletRunnerTest.java
+++ b/src/test/java/com/microsoft/doclet/DocletRunnerTest.java
@@ -11,6 +11,8 @@
 import java.nio.file.Path;
 import java.util.List;
 import java.util.stream.Collectors;
+
+import org.apache.commons.io.output.TeeOutputStream;
 import org.junit.After;
 import org.junit.Before;
 import org.junit.Test;
@@ -30,8 +32,11 @@ public class DocletRunnerTest {
     public void cleanup() throws IOException {
         FileUtilTest.deleteDirectory(OUTPUT_DIR);
 
-        System.setOut(new PrintStream(outContent));
-        System.setErr(new PrintStream(errContent));
+        TeeOutputStream err =new TeeOutputStream(System.out, errContent);
+        TeeOutputStream info =new TeeOutputStream(System.out, outContent);
+
+        System.setOut(new PrintStream(info));
+        System.setErr(new PrintStream(err));
     }
 
     @After
diff --git a/src/test/java/com/microsoft/samples/SuperHero.java b/src/test/java/com/microsoft/samples/SuperHero.java
index 54276e6..d8aad6c 100644
--- a/src/test/java/com/microsoft/samples/SuperHero.java
+++ b/src/test/java/com/microsoft/samples/SuperHero.java
@@ -107,4 +107,16 @@ private void setHobby(String hobby) {
     String getHobby() {
         return hobby;
     }
+
+    /**
+     * Returns a FileStoreAttributeView of the given type.
+     * 

+ * This method always returns null as no {@link FileStoreAttributeView} is currently supported. + * + * @param aClass a class + * @return null + */ + public V ReturnNull(Class aClass) { + return null; + } } diff --git a/src/test/java/com/microsoft/samples/agreements/AgreementDetailsCollectionOperations.java b/src/test/java/com/microsoft/samples/agreements/AgreementDetailsCollectionOperations.java index d76df42..6c296e4 100644 --- a/src/test/java/com/microsoft/samples/agreements/AgreementDetailsCollectionOperations.java +++ b/src/test/java/com/microsoft/samples/agreements/AgreementDetailsCollectionOperations.java @@ -31,4 +31,9 @@ public ResourceCollection get() { return null; } + + public ResourceCollection get(String id) + { + return null; + } } \ No newline at end of file diff --git a/src/test/java/com/microsoft/samples/agreements/IAgreementDetailsCollection.java b/src/test/java/com/microsoft/samples/agreements/IAgreementDetailsCollection.java index 11daccc..1158908 100644 --- a/src/test/java/com/microsoft/samples/agreements/IAgreementDetailsCollection.java +++ b/src/test/java/com/microsoft/samples/agreements/IAgreementDetailsCollection.java @@ -13,4 +13,6 @@ public interface IAgreementDetailsCollection * @return The current agreement metadata. */ ResourceCollection get(); + + ResourceCollection get(String id); } \ No newline at end of file diff --git a/src/test/java/com/microsoft/samples/subpackage/HttpStatusCode.java b/src/test/java/com/microsoft/samples/subpackage/HttpStatusCode.java new file mode 100644 index 0000000..229e99e --- /dev/null +++ b/src/test/java/com/microsoft/samples/subpackage/HttpStatusCode.java @@ -0,0 +1,18 @@ +package com.microsoft.samples.subpackage; + +public class HttpStatusCode +{ + public static final int BADREQUEST = 400; + + public static final int UNAUTHORIZED = 401; + + public static final int FORBIDDEN = 403; + + public static final int NOTFOUND = 404; + + public static final int CONFLICT = 409; + + public static final int SERVICEUNAVAILABLE = 503; + + public static final int EXPECTATIONFAILED = 417; +} \ No newline at end of file diff --git a/src/test/java/com/microsoft/samples/subpackage/Person.java b/src/test/java/com/microsoft/samples/subpackage/Person.java index fb09f8a..76e3c4d 100644 --- a/src/test/java/com/microsoft/samples/subpackage/Person.java +++ b/src/test/java/com/microsoft/samples/subpackage/Person.java @@ -1,5 +1,7 @@ package com.microsoft.samples.subpackage; +import com.microsoft.samples.SuperHero; + import java.util.Collections; import java.util.List; import java.util.Set; @@ -57,6 +59,8 @@ public Set getSomeSet() { /** * We need to have this method that takes parameter and return types declared in the current class + * Test link {@link String} + * A person maybe a {@link SuperHero} */ public static Person buildPerson(Person seed) { return seed; diff --git a/src/test/java/com/microsoft/util/ElementUtilTest.java b/src/test/java/com/microsoft/util/ElementUtilTest.java index cf2b871..bbe9c67 100644 --- a/src/test/java/com/microsoft/util/ElementUtilTest.java +++ b/src/test/java/com/microsoft/util/ElementUtilTest.java @@ -59,7 +59,7 @@ public void extractSortedElements() { .stream().map(String::valueOf).collect(Collectors.toList()); // Ensure items to exclude exist. - assertThat("Wrong enclosed elements number", allElements.size(), is(6)); + assertThat("Wrong enclosed elements number", allElements.size(), is(7)); assertThat("Unexpected package private class", allElements.contains("com.microsoft.samples.subpackage.InternalException"), is(true)); assertThat("Unexpected to-exclude class", allElements.contains("com.microsoft.samples.subpackage.SomeExcludedClass"), is(true)); @@ -68,10 +68,10 @@ public void extractSortedElements() { .stream().map(String::valueOf).collect(Collectors.toList()); // Verify filtered and sorted result - assertThat("Wrong result list size", extractedElements.size(), is(4)); + assertThat("Wrong result list size", extractedElements.size(), is(5)); assertThat("Unexpected first item in the result list after invoke method extractSortedElements()", extractedElements.get(0), is("com.microsoft.samples.subpackage.CustomException")); assertThat("Unexpected second item in the result list after invoke method extractSortedElements()", extractedElements.get(1), is("com.microsoft.samples.subpackage.Display")); - assertThat("Unexpected third item in the result list after invoke method extractSortedElements()", extractedElements.get(2), is("com.microsoft.samples.subpackage.Person")); + assertThat("Unexpected third item in the result list after invoke method extractSortedElements()", extractedElements.get(2), is("com.microsoft.samples.subpackage.HttpStatusCode")); } @Test diff --git a/src/test/java/com/microsoft/util/YamlUtilTest.java b/src/test/java/com/microsoft/util/YamlUtilTest.java index 3c9b6fc..f6c4a71 100644 --- a/src/test/java/com/microsoft/util/YamlUtilTest.java +++ b/src/test/java/com/microsoft/util/YamlUtilTest.java @@ -19,30 +19,31 @@ public class YamlUtilTest { @Test public void objectToYamlString() { MetadataFile metadataFile = new MetadataFile("", "SomeFileName"); - metadataFile.getItems().add(buildMetadataFileItem(3)); - metadataFile.getReferences().add(buildMetadataFileItem(5)); + metadataFile.getItems().add(buildMetadataFileItem(3, "method")); + metadataFile.getReferences().add(buildMetadataFileItem(5, "")); - String result = YamlUtil.objectToYamlString(metadataFile); + String result = YamlUtil.objectToYamlString(metadataFile, "SomeFileName"); assertThat("Wrong result", result, is("" + "items:\n" + "- uid: \"Some uid 3\"\n" + " id: \"Some id3\"\n" + " href: \"Some href3\"\n" + + " type: \"method\"\n" + " syntax:\n" + " parameters:\n" - + " - id: \"Some id 3\"\n" - + " type: \"Some type 3\"\n" - + " description: \"Some desc 3\"\n" + + " - description: \"Some desc 3\"\n" + + " name: \"Some name 3\"\n" + + " type: \"\"\n" + "references:\n" + "- uid: \"Some uid 5\"\n" + " id: \"Some id5\"\n" + " href: \"Some href5\"\n" + " syntax:\n" + " parameters:\n" - + " - id: \"Some id 5\"\n" - + " type: \"Some type 5\"\n" - + " description: \"Some desc 5\"\n")); + + " - description: \"Some desc 5\"\n" + + " name: \"Some name 5\"\n" + + " type: \"\"\n")); } @Test @@ -61,12 +62,13 @@ public void convertHtmlToMarkdownForBlankParam() { assertThat("Wrong result for empty string", YamlUtil.convertHtmlToMarkdown(""), is("")); } - private MetadataFileItem buildMetadataFileItem(int seed) { + private MetadataFileItem buildMetadataFileItem(int seed, String type) { MetadataFileItem metadataFileItem = new MetadataFileItem("Some uid " + seed); metadataFileItem.setId("Some id" + seed); metadataFileItem.setHref("Some href" + seed); + metadataFileItem.setType(type); metadataFileItem.setParameters(Collections.singletonList( - new MethodParameter("Some id " + seed, "Some type " + seed, "Some desc " + seed))); + new MethodParameter("Some name " + seed, "Some type " + seed, "Some desc " + seed))); return metadataFileItem; } diff --git a/src/test/resources/expected-generated-files/com.microsoft.samples.BasePartnerComponent.BasePartnerComponent.yml b/src/test/resources/expected-generated-files/com.microsoft.samples.BasePartnerComponent.BasePartnerComponent.yml new file mode 100644 index 0000000..3ca793e --- /dev/null +++ b/src/test/resources/expected-generated-files/com.microsoft.samples.BasePartnerComponent.BasePartnerComponent.yml @@ -0,0 +1,22 @@ +### YamlMime:JavaMember +uid: "com.microsoft.samples.BasePartnerComponent.BasePartnerComponent*" +fullName: "com.microsoft.samples.BasePartnerComponent.BasePartnerComponent" +name: "BasePartnerComponent" +nameWithType: "BasePartnerComponent.BasePartnerComponent" +members: +- uid: "com.microsoft.samples.BasePartnerComponent.BasePartnerComponent(com.microsoft.samples.IPartner,TContext)" + fullName: "com.microsoft.samples.BasePartnerComponent.BasePartnerComponent(IPartner rootPartnerOperations, TContext componentContext)" + name: "BasePartnerComponent(IPartner rootPartnerOperations, TContext componentContext)" + nameWithType: "BasePartnerComponent.BasePartnerComponent(IPartner rootPartnerOperations, TContext componentContext)" + summary: "Initializes a new instance of the BasePartnerComponent class." + parameters: + - description: "The root partner operations that created this component." + name: "rootPartnerOperations" + type: "" + - description: "A component context object to work with." + name: "componentContext" + type: "" + syntax: "protected BasePartnerComponent(IPartner rootPartnerOperations, TContext componentContext)" +type: "constructor" +metadata: {} +package: "com.microsoft.samples" diff --git a/src/test/resources/expected-generated-files/com.microsoft.samples.BasePartnerComponent.testBase.yml b/src/test/resources/expected-generated-files/com.microsoft.samples.BasePartnerComponent.testBase.yml new file mode 100644 index 0000000..9dbd584 --- /dev/null +++ b/src/test/resources/expected-generated-files/com.microsoft.samples.BasePartnerComponent.testBase.yml @@ -0,0 +1,14 @@ +### YamlMime:JavaMember +uid: "com.microsoft.samples.BasePartnerComponent.testBase*" +fullName: "com.microsoft.samples.BasePartnerComponent.testBase" +name: "testBase" +nameWithType: "BasePartnerComponent.testBase" +members: +- uid: "com.microsoft.samples.BasePartnerComponent.testBase()" + fullName: "com.microsoft.samples.BasePartnerComponent.testBase()" + name: "testBase()" + nameWithType: "BasePartnerComponent.testBase()" + syntax: "protected void testBase()" +type: "method" +metadata: {} +package: "com.microsoft.samples" diff --git a/src/test/resources/expected-generated-files/com.microsoft.samples.BasePartnerComponent.testInherited.yml b/src/test/resources/expected-generated-files/com.microsoft.samples.BasePartnerComponent.testInherited.yml new file mode 100644 index 0000000..f8647e3 --- /dev/null +++ b/src/test/resources/expected-generated-files/com.microsoft.samples.BasePartnerComponent.testInherited.yml @@ -0,0 +1,14 @@ +### YamlMime:JavaMember +uid: "com.microsoft.samples.BasePartnerComponent.testInherited*" +fullName: "com.microsoft.samples.BasePartnerComponent.testInherited" +name: "testInherited" +nameWithType: "BasePartnerComponent.testInherited" +members: +- uid: "com.microsoft.samples.BasePartnerComponent.testInherited()" + fullName: "com.microsoft.samples.BasePartnerComponent.testInherited()" + name: "testInherited()" + nameWithType: "BasePartnerComponent.testInherited()" + syntax: "protected void testInherited()" +type: "method" +metadata: {} +package: "com.microsoft.samples" diff --git a/src/test/resources/expected-generated-files/com.microsoft.samples.BasePartnerComponent.yml b/src/test/resources/expected-generated-files/com.microsoft.samples.BasePartnerComponent.yml index 51f756a..f761432 100644 --- a/src/test/resources/expected-generated-files/com.microsoft.samples.BasePartnerComponent.yml +++ b/src/test/resources/expected-generated-files/com.microsoft.samples.BasePartnerComponent.yml @@ -1,151 +1,31 @@ -### YamlMime:ManagedReference -items: -- uid: "com.microsoft.samples.BasePartnerComponent" - id: "BasePartnerComponent" - parent: "com.microsoft.samples" - children: - - "com.microsoft.samples.BasePartnerComponent.BasePartnerComponent(com.microsoft.samples.IPartner,TContext)" - - "com.microsoft.samples.BasePartnerComponent.testBase()" - - "com.microsoft.samples.BasePartnerComponent.testInherited()" - langs: - - "java" - name: "BasePartnerComponent" - nameWithType: "BasePartnerComponent" - fullName: "com.microsoft.samples.BasePartnerComponent" - type: "Class" - package: "com.microsoft.samples" - summary: "Holds common partner component properties and behavior. All components should inherit from this class. The context object type." - syntax: - content: "public abstract class BasePartnerComponent" - typeParameters: - - id: "TContext" - inheritance: - - "java.lang.Object" - inheritedMembers: - - "java.lang.Object.clone()" - - "java.lang.Object.equals(java.lang.Object)" - - "java.lang.Object.finalize()" - - "java.lang.Object.getClass()" - - "java.lang.Object.hashCode()" - - "java.lang.Object.notify()" - - "java.lang.Object.notifyAll()" - - "java.lang.Object.toString()" - - "java.lang.Object.wait()" - - "java.lang.Object.wait(long)" - - "java.lang.Object.wait(long,int)" -- uid: "com.microsoft.samples.BasePartnerComponent.BasePartnerComponent(com.microsoft.samples.IPartner,TContext)" - id: "BasePartnerComponent(com.microsoft.samples.IPartner,TContext)" - parent: "com.microsoft.samples.BasePartnerComponent" - langs: - - "java" - name: "BasePartnerComponent(IPartner rootPartnerOperations, TContext componentContext)" - nameWithType: "BasePartnerComponent.BasePartnerComponent(IPartner rootPartnerOperations, TContext componentContext)" - fullName: "com.microsoft.samples.BasePartnerComponent.BasePartnerComponent(IPartner rootPartnerOperations, TContext componentContext)" - overload: "com.microsoft.samples.BasePartnerComponent.BasePartnerComponent*" - type: "Constructor" - package: "com.microsoft.samples" - summary: "Initializes a new instance of the BasePartnerComponent class." - syntax: - content: "protected BasePartnerComponent(IPartner rootPartnerOperations, TContext componentContext)" - parameters: - - id: "rootPartnerOperations" - type: "com.microsoft.samples.IPartner" - description: "The root partner operations that created this component." - - id: "componentContext" - type: "TContext" - description: "A component context object to work with." -- uid: "com.microsoft.samples.BasePartnerComponent.testBase()" - id: "testBase()" - parent: "com.microsoft.samples.BasePartnerComponent" - langs: - - "java" - name: "testBase()" - nameWithType: "BasePartnerComponent.testBase()" - fullName: "com.microsoft.samples.BasePartnerComponent.testBase()" - overload: "com.microsoft.samples.BasePartnerComponent.testBase*" - type: "Method" - package: "com.microsoft.samples" - syntax: - content: "protected void testBase()" -- uid: "com.microsoft.samples.BasePartnerComponent.testInherited()" - id: "testInherited()" - parent: "com.microsoft.samples.BasePartnerComponent" - langs: - - "java" - name: "testInherited()" - nameWithType: "BasePartnerComponent.testInherited()" - fullName: "com.microsoft.samples.BasePartnerComponent.testInherited()" - overload: "com.microsoft.samples.BasePartnerComponent.testInherited*" - type: "Method" - package: "com.microsoft.samples" - syntax: - content: "protected void testInherited()" -references: -- uid: "com.microsoft.samples.IPartner" - name: "IPartner" - nameWithType: "IPartner" - fullName: "com.microsoft.samples.IPartner" -- uid: "TContext" - spec.java: - - uid: "TContext" - name: "TContext" - fullName: "TContext" -- uid: "com.microsoft.samples.BasePartnerComponent.BasePartnerComponent*" - name: "BasePartnerComponent" - nameWithType: "BasePartnerComponent.BasePartnerComponent" - fullName: "com.microsoft.samples.BasePartnerComponent.BasePartnerComponent" - package: "com.microsoft.samples" -- uid: "com.microsoft.samples.BasePartnerComponent.testBase*" - name: "testBase" - nameWithType: "BasePartnerComponent.testBase" - fullName: "com.microsoft.samples.BasePartnerComponent.testBase" - package: "com.microsoft.samples" -- uid: "com.microsoft.samples.BasePartnerComponent.testInherited*" - name: "testInherited" - nameWithType: "BasePartnerComponent.testInherited" - fullName: "com.microsoft.samples.BasePartnerComponent.testInherited" - package: "com.microsoft.samples" -- uid: "java.lang.Object.notify()" - name: "Object.notify()" - nameWithType: "Object.notify()" - fullName: "java.lang.Object.notify()" -- uid: "java.lang.Object.wait()" - name: "Object.wait()" - nameWithType: "Object.wait()" - fullName: "java.lang.Object.wait()" -- uid: "java.lang.Object.finalize()" - name: "Object.finalize()" - nameWithType: "Object.finalize()" - fullName: "java.lang.Object.finalize()" -- uid: "java.lang.Object.clone()" - name: "Object.clone()" - nameWithType: "Object.clone()" - fullName: "java.lang.Object.clone()" -- uid: "java.lang.Object.notifyAll()" - name: "Object.notifyAll()" - nameWithType: "Object.notifyAll()" - fullName: "java.lang.Object.notifyAll()" -- uid: "java.lang.Object.equals(java.lang.Object)" - name: "Object.equals(Object)" - nameWithType: "Object.equals(Object)" - fullName: "java.lang.Object.equals(java.lang.Object)" -- uid: "java.lang.Object.getClass()" - name: "Object.getClass()" - nameWithType: "Object.getClass()" - fullName: "java.lang.Object.getClass()" -- uid: "java.lang.Object.wait(long)" - name: "Object.wait(long)" - nameWithType: "Object.wait(long)" - fullName: "java.lang.Object.wait(long)" -- uid: "java.lang.Object.hashCode()" - name: "Object.hashCode()" - nameWithType: "Object.hashCode()" - fullName: "java.lang.Object.hashCode()" -- uid: "java.lang.Object.wait(long,int)" - name: "Object.wait(long,int)" - nameWithType: "Object.wait(long,int)" - fullName: "java.lang.Object.wait(long,int)" -- uid: "java.lang.Object.toString()" - name: "Object.toString()" - nameWithType: "Object.toString()" - fullName: "java.lang.Object.toString()" +### YamlMime:JavaType +uid: "com.microsoft.samples.BasePartnerComponent" +fullName: "com.microsoft.samples.BasePartnerComponent" +name: "BasePartnerComponent" +nameWithType: "BasePartnerComponent" +summary: "Holds common partner component properties and behavior. All components should inherit from this class. The context object type." +inheritances: +- "" +inheritedMembers: +- "java.lang.Object.clone()" +- "java.lang.Object.equals(java.lang.Object)" +- "java.lang.Object.finalize()" +- "java.lang.Object.getClass()" +- "java.lang.Object.hashCode()" +- "java.lang.Object.notify()" +- "java.lang.Object.notifyAll()" +- "java.lang.Object.toString()" +- "java.lang.Object.wait()" +- "java.lang.Object.wait(long)" +- "java.lang.Object.wait(long,int)" +syntax: "public abstract class BasePartnerComponent" +constructors: +- "com.microsoft.samples.BasePartnerComponent.BasePartnerComponent(com.microsoft.samples.IPartner,TContext)" +methods: +- "com.microsoft.samples.BasePartnerComponent.testBase()" +- "com.microsoft.samples.BasePartnerComponent.testInherited()" +type: "class" +typeParameters: +- name: "TContext" +metadata: {} +package: "com.microsoft.samples" diff --git a/src/test/resources/expected-generated-files/com.microsoft.samples.BasePartnerComponentString.BasePartnerComponentString.yml b/src/test/resources/expected-generated-files/com.microsoft.samples.BasePartnerComponentString.BasePartnerComponentString.yml new file mode 100644 index 0000000..70f5102 --- /dev/null +++ b/src/test/resources/expected-generated-files/com.microsoft.samples.BasePartnerComponentString.BasePartnerComponentString.yml @@ -0,0 +1,32 @@ +### YamlMime:JavaMember +uid: "com.microsoft.samples.BasePartnerComponentString.BasePartnerComponentString*" +fullName: "com.microsoft.samples.BasePartnerComponentString.BasePartnerComponentString" +name: "BasePartnerComponentString" +nameWithType: "BasePartnerComponentString.BasePartnerComponentString" +members: +- uid: "com.microsoft.samples.BasePartnerComponentString.BasePartnerComponentString(com.microsoft.samples.IPartner)" + fullName: "com.microsoft.samples.BasePartnerComponentString.BasePartnerComponentString(IPartner rootPartnerOperations)" + name: "BasePartnerComponentString(IPartner rootPartnerOperations)" + nameWithType: "BasePartnerComponentString.BasePartnerComponentString(IPartner rootPartnerOperations)" + summary: "Initializes a new instance of the BasePartnerComponent class." + parameters: + - description: "The root partner operations that created this component." + name: "rootPartnerOperations" + type: "" + syntax: "protected BasePartnerComponentString(IPartner rootPartnerOperations)" +- uid: "com.microsoft.samples.BasePartnerComponentString.BasePartnerComponentString(com.microsoft.samples.IPartner,java.lang.String)" + fullName: "com.microsoft.samples.BasePartnerComponentString.BasePartnerComponentString(IPartner rootPartnerOperations, String componentContext)" + name: "BasePartnerComponentString(IPartner rootPartnerOperations, String componentContext)" + nameWithType: "BasePartnerComponentString.BasePartnerComponentString(IPartner rootPartnerOperations, String componentContext)" + summary: "Initializes a new instance of the BasePartnerComponent class." + parameters: + - description: "The root partner operations that created this component." + name: "rootPartnerOperations" + type: "" + - description: "A component context object to work with." + name: "componentContext" + type: "" + syntax: "protected BasePartnerComponentString(IPartner rootPartnerOperations, String componentContext)" +type: "constructor" +metadata: {} +package: "com.microsoft.samples" diff --git a/src/test/resources/expected-generated-files/com.microsoft.samples.BasePartnerComponentString.testInherited.yml b/src/test/resources/expected-generated-files/com.microsoft.samples.BasePartnerComponentString.testInherited.yml new file mode 100644 index 0000000..ab5f893 --- /dev/null +++ b/src/test/resources/expected-generated-files/com.microsoft.samples.BasePartnerComponentString.testInherited.yml @@ -0,0 +1,15 @@ +### YamlMime:JavaMember +uid: "com.microsoft.samples.BasePartnerComponentString.testInherited*" +fullName: "com.microsoft.samples.BasePartnerComponentString.testInherited" +name: "testInherited" +nameWithType: "BasePartnerComponentString.testInherited" +members: +- uid: "com.microsoft.samples.BasePartnerComponentString.testInherited()" + fullName: "com.microsoft.samples.BasePartnerComponentString.testInherited()" + name: "testInherited()" + nameWithType: "BasePartnerComponentString.testInherited()" + overridden: "com.microsoft.samples.BasePartnerComponent.testInherited()" + syntax: "protected void testInherited()" +type: "method" +metadata: {} +package: "com.microsoft.samples" diff --git a/src/test/resources/expected-generated-files/com.microsoft.samples.BasePartnerComponentString.yml b/src/test/resources/expected-generated-files/com.microsoft.samples.BasePartnerComponentString.yml index 6cee6d7..f70a531 100644 --- a/src/test/resources/expected-generated-files/com.microsoft.samples.BasePartnerComponentString.yml +++ b/src/test/resources/expected-generated-files/com.microsoft.samples.BasePartnerComponentString.yml @@ -1,169 +1,32 @@ -### YamlMime:ManagedReference -items: -- uid: "com.microsoft.samples.BasePartnerComponentString" - id: "BasePartnerComponentString" - parent: "com.microsoft.samples" - children: - - "com.microsoft.samples.BasePartnerComponentString.BasePartnerComponentString(com.microsoft.samples.IPartner)" - - "com.microsoft.samples.BasePartnerComponentString.BasePartnerComponentString(com.microsoft.samples.IPartner,java.lang.String)" - - "com.microsoft.samples.BasePartnerComponentString.testInherited()" - langs: - - "java" - name: "BasePartnerComponentString" - nameWithType: "BasePartnerComponentString" - fullName: "com.microsoft.samples.BasePartnerComponentString" - type: "Class" - package: "com.microsoft.samples" - summary: "Holds common partner component properties and behavior. The context is string type by default." - syntax: - content: "public abstract class BasePartnerComponentString extends BasePartnerComponent" - inheritance: - - "java.lang.Object" - - "com.microsoft.samples.BasePartnerComponent" - inheritedMembers: - - "com.microsoft.samples.BasePartnerComponent.testBase()" - - "com.microsoft.samples.BasePartnerComponent.testInherited()" - - "java.lang.Object.clone()" - - "java.lang.Object.equals(java.lang.Object)" - - "java.lang.Object.finalize()" - - "java.lang.Object.getClass()" - - "java.lang.Object.hashCode()" - - "java.lang.Object.notify()" - - "java.lang.Object.notifyAll()" - - "java.lang.Object.toString()" - - "java.lang.Object.wait()" - - "java.lang.Object.wait(long)" - - "java.lang.Object.wait(long,int)" -- uid: "com.microsoft.samples.BasePartnerComponentString.BasePartnerComponentString(com.microsoft.samples.IPartner)" - id: "BasePartnerComponentString(com.microsoft.samples.IPartner)" - parent: "com.microsoft.samples.BasePartnerComponentString" - langs: - - "java" - name: "BasePartnerComponentString(IPartner rootPartnerOperations)" - nameWithType: "BasePartnerComponentString.BasePartnerComponentString(IPartner rootPartnerOperations)" - fullName: "com.microsoft.samples.BasePartnerComponentString.BasePartnerComponentString(IPartner rootPartnerOperations)" - overload: "com.microsoft.samples.BasePartnerComponentString.BasePartnerComponentString*" - type: "Constructor" - package: "com.microsoft.samples" - summary: "Initializes a new instance of the BasePartnerComponent class." - syntax: - content: "protected BasePartnerComponentString(IPartner rootPartnerOperations)" - parameters: - - id: "rootPartnerOperations" - type: "com.microsoft.samples.IPartner" - description: "The root partner operations that created this component." -- uid: "com.microsoft.samples.BasePartnerComponentString.BasePartnerComponentString(com.microsoft.samples.IPartner,java.lang.String)" - id: "BasePartnerComponentString(com.microsoft.samples.IPartner,java.lang.String)" - parent: "com.microsoft.samples.BasePartnerComponentString" - langs: - - "java" - name: "BasePartnerComponentString(IPartner rootPartnerOperations, String componentContext)" - nameWithType: "BasePartnerComponentString.BasePartnerComponentString(IPartner rootPartnerOperations, String componentContext)" - fullName: "com.microsoft.samples.BasePartnerComponentString.BasePartnerComponentString(IPartner rootPartnerOperations, String componentContext)" - overload: "com.microsoft.samples.BasePartnerComponentString.BasePartnerComponentString*" - type: "Constructor" - package: "com.microsoft.samples" - summary: "Initializes a new instance of the BasePartnerComponent class." - syntax: - content: "protected BasePartnerComponentString(IPartner rootPartnerOperations, String componentContext)" - parameters: - - id: "rootPartnerOperations" - type: "com.microsoft.samples.IPartner" - description: "The root partner operations that created this component." - - id: "componentContext" - type: "java.lang.String" - description: "A component context object to work with." -- uid: "com.microsoft.samples.BasePartnerComponentString.testInherited()" - id: "testInherited()" - parent: "com.microsoft.samples.BasePartnerComponentString" - langs: - - "java" - name: "testInherited()" - nameWithType: "BasePartnerComponentString.testInherited()" - fullName: "com.microsoft.samples.BasePartnerComponentString.testInherited()" - overload: "com.microsoft.samples.BasePartnerComponentString.testInherited*" - overridden: "com.microsoft.samples.BasePartnerComponent.testInherited()" - type: "Method" - package: "com.microsoft.samples" - syntax: - content: "protected void testInherited()" -references: -- uid: "com.microsoft.samples.IPartner" - name: "IPartner" - nameWithType: "IPartner" - fullName: "com.microsoft.samples.IPartner" -- uid: "com.microsoft.samples.BasePartnerComponentString.BasePartnerComponentString*" - name: "BasePartnerComponentString" - nameWithType: "BasePartnerComponentString.BasePartnerComponentString" - fullName: "com.microsoft.samples.BasePartnerComponentString.BasePartnerComponentString" - package: "com.microsoft.samples" -- uid: "java.lang.String" - spec.java: - - uid: "java.lang.String" - name: "String" - fullName: "java.lang.String" -- uid: "com.microsoft.samples.BasePartnerComponentString.testInherited*" - name: "testInherited" - nameWithType: "BasePartnerComponentString.testInherited" - fullName: "com.microsoft.samples.BasePartnerComponentString.testInherited" - package: "com.microsoft.samples" -- uid: "com.microsoft.samples.BasePartnerComponent" - name: "BasePartnerComponent" - nameWithType: "BasePartnerComponent" - fullName: "com.microsoft.samples.BasePartnerComponent" -- uid: "java.lang.Object.notify()" - name: "Object.notify()" - nameWithType: "Object.notify()" - fullName: "java.lang.Object.notify()" -- uid: "java.lang.Object.wait()" - name: "Object.wait()" - nameWithType: "Object.wait()" - fullName: "java.lang.Object.wait()" -- uid: "java.lang.Object.finalize()" - name: "Object.finalize()" - nameWithType: "Object.finalize()" - fullName: "java.lang.Object.finalize()" -- uid: "java.lang.Object.notifyAll()" - name: "Object.notifyAll()" - nameWithType: "Object.notifyAll()" - fullName: "java.lang.Object.notifyAll()" -- uid: "java.lang.Object.clone()" - name: "Object.clone()" - nameWithType: "Object.clone()" - fullName: "java.lang.Object.clone()" -- uid: "com.microsoft.samples.BasePartnerComponent.testBase()" - name: "BasePartnerComponent.testBase()" - nameWithType: "BasePartnerComponent.testBase()" - fullName: "com.microsoft.samples.BasePartnerComponent.testBase()" -- uid: "java.lang.Object.equals(java.lang.Object)" - name: "Object.equals(Object)" - nameWithType: "Object.equals(Object)" - fullName: "java.lang.Object.equals(java.lang.Object)" -- uid: "java.lang.Object.toString()" - name: "Object.toString()" - nameWithType: "Object.toString()" - fullName: "java.lang.Object.toString()" -- uid: "java.lang.Object.getClass()" - name: "Object.getClass()" - nameWithType: "Object.getClass()" - fullName: "java.lang.Object.getClass()" -- uid: "java.lang.Object.wait(long)" - name: "Object.wait(long)" - nameWithType: "Object.wait(long)" - fullName: "java.lang.Object.wait(long)" -- uid: "java.lang.Object.hashCode()" - name: "Object.hashCode()" - nameWithType: "Object.hashCode()" - fullName: "java.lang.Object.hashCode()" -- uid: "com.microsoft.samples.BasePartnerComponent.testInherited()" - name: "BasePartnerComponent.testInherited()" - nameWithType: "BasePartnerComponent.testInherited()" - fullName: "com.microsoft.samples.BasePartnerComponent.testInherited()" -- uid: "java.lang.Object.wait(long,int)" - name: "Object.wait(long,int)" - nameWithType: "Object.wait(long,int)" - fullName: "java.lang.Object.wait(long,int)" -- uid: "com.microsoft.samples.BasePartnerComponent" - name: "BasePartnerComponent" - nameWithType: "BasePartnerComponent" - fullName: "com.microsoft.samples.BasePartnerComponent" +### YamlMime:JavaType +uid: "com.microsoft.samples.BasePartnerComponentString" +fullName: "com.microsoft.samples.BasePartnerComponentString" +name: "BasePartnerComponentString" +nameWithType: "BasePartnerComponentString" +summary: "Holds common partner component properties and behavior. The context is string type by default." +inheritances: +- "" +- "" +inheritedMembers: +- "com.microsoft.samples.BasePartnerComponent.testBase()" +- "com.microsoft.samples.BasePartnerComponent.testInherited()" +- "java.lang.Object.clone()" +- "java.lang.Object.equals(java.lang.Object)" +- "java.lang.Object.finalize()" +- "java.lang.Object.getClass()" +- "java.lang.Object.hashCode()" +- "java.lang.Object.notify()" +- "java.lang.Object.notifyAll()" +- "java.lang.Object.toString()" +- "java.lang.Object.wait()" +- "java.lang.Object.wait(long)" +- "java.lang.Object.wait(long,int)" +syntax: "public abstract class BasePartnerComponentString extends BasePartnerComponent" +constructors: +- "com.microsoft.samples.BasePartnerComponentString.BasePartnerComponentString(com.microsoft.samples.IPartner)" +- "com.microsoft.samples.BasePartnerComponentString.BasePartnerComponentString(com.microsoft.samples.IPartner,java.lang.String)" +methods: +- "com.microsoft.samples.BasePartnerComponentString.testInherited()" +type: "class" +metadata: {} +package: "com.microsoft.samples" diff --git a/src/test/resources/expected-generated-files/com.microsoft.samples.IPartner.getCredentials.yml b/src/test/resources/expected-generated-files/com.microsoft.samples.IPartner.getCredentials.yml new file mode 100644 index 0000000..65c45d6 --- /dev/null +++ b/src/test/resources/expected-generated-files/com.microsoft.samples.IPartner.getCredentials.yml @@ -0,0 +1,18 @@ +### YamlMime:JavaMember +uid: "com.microsoft.samples.IPartner.getCredentials*" +fullName: "com.microsoft.samples.IPartner.getCredentials" +name: "getCredentials" +nameWithType: "IPartner.getCredentials" +members: +- uid: "com.microsoft.samples.IPartner.getCredentials()" + fullName: "com.microsoft.samples.IPartner.getCredentials()" + name: "getCredentials()" + nameWithType: "IPartner.getCredentials()" + summary: "Gets the partner credentials." + syntax: "public abstract String getCredentials()" + returns: + description: "The partner credentials." + type: "" +type: "method" +metadata: {} +package: "com.microsoft.samples" diff --git a/src/test/resources/expected-generated-files/com.microsoft.samples.IPartner.yml b/src/test/resources/expected-generated-files/com.microsoft.samples.IPartner.yml index 36be4dc..864966d 100644 --- a/src/test/resources/expected-generated-files/com.microsoft.samples.IPartner.yml +++ b/src/test/resources/expected-generated-files/com.microsoft.samples.IPartner.yml @@ -1,45 +1,12 @@ -### YamlMime:ManagedReference -items: -- uid: "com.microsoft.samples.IPartner" - id: "IPartner" - parent: "com.microsoft.samples" - children: - - "com.microsoft.samples.IPartner.getCredentials()" - langs: - - "java" - name: "IPartner" - nameWithType: "IPartner" - fullName: "com.microsoft.samples.IPartner" - type: "Interface" - package: "com.microsoft.samples" - summary: "The main entry point into using the partner SDK functionality. Represents a partner and encapsulates all the behavior attached to partners. Use this interface to get to the partner's customers, profiles, and customer orders, profiles and subscriptions and more." - syntax: - content: "public interface IPartner" -- uid: "com.microsoft.samples.IPartner.getCredentials()" - id: "getCredentials()" - parent: "com.microsoft.samples.IPartner" - langs: - - "java" - name: "getCredentials()" - nameWithType: "IPartner.getCredentials()" - fullName: "com.microsoft.samples.IPartner.getCredentials()" - overload: "com.microsoft.samples.IPartner.getCredentials*" - type: "Method" - package: "com.microsoft.samples" - summary: "Gets the partner credentials." - syntax: - content: "public abstract String getCredentials()" - return: - type: "java.lang.String" - description: "The partner credentials." -references: -- uid: "java.lang.String" - spec.java: - - uid: "java.lang.String" - name: "String" - fullName: "java.lang.String" -- uid: "com.microsoft.samples.IPartner.getCredentials*" - name: "getCredentials" - nameWithType: "IPartner.getCredentials" - fullName: "com.microsoft.samples.IPartner.getCredentials" - package: "com.microsoft.samples" +### YamlMime:JavaType +uid: "com.microsoft.samples.IPartner" +fullName: "com.microsoft.samples.IPartner" +name: "IPartner" +nameWithType: "IPartner" +summary: "The main entry point into using the partner SDK functionality. Represents a partner and encapsulates all the behavior attached to partners. Use this interface to get to the partner's customers, profiles, and customer orders, profiles and subscriptions and more." +syntax: "public interface IPartner" +methods: +- "com.microsoft.samples.IPartner.getCredentials()" +type: "interface" +metadata: {} +package: "com.microsoft.samples" diff --git a/src/test/resources/expected-generated-files/com.microsoft.samples.KeyValuePair.KeyValuePair.yml b/src/test/resources/expected-generated-files/com.microsoft.samples.KeyValuePair.KeyValuePair.yml new file mode 100644 index 0000000..6cd63dc --- /dev/null +++ b/src/test/resources/expected-generated-files/com.microsoft.samples.KeyValuePair.KeyValuePair.yml @@ -0,0 +1,24 @@ +### YamlMime:JavaMember +uid: "com.microsoft.samples.KeyValuePair.KeyValuePair*" +fullName: "com.microsoft.samples.KeyValuePair.KeyValuePair" +name: "KeyValuePair" +nameWithType: "KeyValuePair.KeyValuePair" +members: +- uid: "com.microsoft.samples.KeyValuePair.KeyValuePair()" + fullName: "com.microsoft.samples.KeyValuePair.KeyValuePair()" + name: "KeyValuePair()" + nameWithType: "KeyValuePair.KeyValuePair()" + syntax: "public KeyValuePair()" +- uid: "com.microsoft.samples.KeyValuePair.KeyValuePair(K,V)" + fullName: "com.microsoft.samples.KeyValuePair.KeyValuePair(K key, V value)" + name: "KeyValuePair(K key, V value)" + nameWithType: "KeyValuePair.KeyValuePair(K key, V value)" + parameters: + - name: "key" + type: "" + - name: "value" + type: "" + syntax: "public KeyValuePair(K key, V value)" +type: "constructor" +metadata: {} +package: "com.microsoft.samples" diff --git a/src/test/resources/expected-generated-files/com.microsoft.samples.KeyValuePair.getKey.yml b/src/test/resources/expected-generated-files/com.microsoft.samples.KeyValuePair.getKey.yml new file mode 100644 index 0000000..32b4c96 --- /dev/null +++ b/src/test/resources/expected-generated-files/com.microsoft.samples.KeyValuePair.getKey.yml @@ -0,0 +1,16 @@ +### YamlMime:JavaMember +uid: "com.microsoft.samples.KeyValuePair.getKey*" +fullName: "com.microsoft.samples.KeyValuePair.getKey" +name: "getKey" +nameWithType: "KeyValuePair.getKey" +members: +- uid: "com.microsoft.samples.KeyValuePair.getKey()" + fullName: "com.microsoft.samples.KeyValuePair.getKey()" + name: "getKey()" + nameWithType: "KeyValuePair.getKey()" + syntax: "public K getKey()" + returns: + type: "" +type: "method" +metadata: {} +package: "com.microsoft.samples" diff --git a/src/test/resources/expected-generated-files/com.microsoft.samples.KeyValuePair.getValue.yml b/src/test/resources/expected-generated-files/com.microsoft.samples.KeyValuePair.getValue.yml new file mode 100644 index 0000000..c5a7ccd --- /dev/null +++ b/src/test/resources/expected-generated-files/com.microsoft.samples.KeyValuePair.getValue.yml @@ -0,0 +1,16 @@ +### YamlMime:JavaMember +uid: "com.microsoft.samples.KeyValuePair.getValue*" +fullName: "com.microsoft.samples.KeyValuePair.getValue" +name: "getValue" +nameWithType: "KeyValuePair.getValue" +members: +- uid: "com.microsoft.samples.KeyValuePair.getValue()" + fullName: "com.microsoft.samples.KeyValuePair.getValue()" + name: "getValue()" + nameWithType: "KeyValuePair.getValue()" + syntax: "public V getValue()" + returns: + type: "" +type: "method" +metadata: {} +package: "com.microsoft.samples" diff --git a/src/test/resources/expected-generated-files/com.microsoft.samples.KeyValuePair.yml b/src/test/resources/expected-generated-files/com.microsoft.samples.KeyValuePair.yml index 0eacae3..5f98302 100644 --- a/src/test/resources/expected-generated-files/com.microsoft.samples.KeyValuePair.yml +++ b/src/test/resources/expected-generated-files/com.microsoft.samples.KeyValuePair.yml @@ -1,167 +1,32 @@ -### YamlMime:ManagedReference -items: -- uid: "com.microsoft.samples.KeyValuePair" - id: "KeyValuePair" - parent: "com.microsoft.samples" - children: - - "com.microsoft.samples.KeyValuePair.KeyValuePair()" - - "com.microsoft.samples.KeyValuePair.KeyValuePair(K,V)" - - "com.microsoft.samples.KeyValuePair.getKey()" - - "com.microsoft.samples.KeyValuePair.getValue()" - langs: - - "java" - name: "KeyValuePair" - nameWithType: "KeyValuePair" - fullName: "com.microsoft.samples.KeyValuePair" - type: "Class" - package: "com.microsoft.samples" - syntax: - content: "public class KeyValuePair" - typeParameters: - - id: "K" - - id: "V" - inheritance: - - "java.lang.Object" - inheritedMembers: - - "java.lang.Object.clone()" - - "java.lang.Object.equals(java.lang.Object)" - - "java.lang.Object.finalize()" - - "java.lang.Object.getClass()" - - "java.lang.Object.hashCode()" - - "java.lang.Object.notify()" - - "java.lang.Object.notifyAll()" - - "java.lang.Object.toString()" - - "java.lang.Object.wait()" - - "java.lang.Object.wait(long)" - - "java.lang.Object.wait(long,int)" -- uid: "com.microsoft.samples.KeyValuePair.KeyValuePair()" - id: "KeyValuePair()" - parent: "com.microsoft.samples.KeyValuePair" - langs: - - "java" - name: "KeyValuePair()" - nameWithType: "KeyValuePair.KeyValuePair()" - fullName: "com.microsoft.samples.KeyValuePair.KeyValuePair()" - overload: "com.microsoft.samples.KeyValuePair.KeyValuePair*" - type: "Constructor" - package: "com.microsoft.samples" - syntax: - content: "public KeyValuePair()" -- uid: "com.microsoft.samples.KeyValuePair.KeyValuePair(K,V)" - id: "KeyValuePair(K,V)" - parent: "com.microsoft.samples.KeyValuePair" - langs: - - "java" - name: "KeyValuePair(K key, V value)" - nameWithType: "KeyValuePair.KeyValuePair(K key, V value)" - fullName: "com.microsoft.samples.KeyValuePair.KeyValuePair(K key, V value)" - overload: "com.microsoft.samples.KeyValuePair.KeyValuePair*" - type: "Constructor" - package: "com.microsoft.samples" - syntax: - content: "public KeyValuePair(K key, V value)" - parameters: - - id: "key" - type: "K" - - id: "value" - type: "V" -- uid: "com.microsoft.samples.KeyValuePair.getKey()" - id: "getKey()" - parent: "com.microsoft.samples.KeyValuePair" - langs: - - "java" - name: "getKey()" - nameWithType: "KeyValuePair.getKey()" - fullName: "com.microsoft.samples.KeyValuePair.getKey()" - overload: "com.microsoft.samples.KeyValuePair.getKey*" - type: "Method" - package: "com.microsoft.samples" - syntax: - content: "public K getKey()" - return: - type: "K" -- uid: "com.microsoft.samples.KeyValuePair.getValue()" - id: "getValue()" - parent: "com.microsoft.samples.KeyValuePair" - langs: - - "java" - name: "getValue()" - nameWithType: "KeyValuePair.getValue()" - fullName: "com.microsoft.samples.KeyValuePair.getValue()" - overload: "com.microsoft.samples.KeyValuePair.getValue*" - type: "Method" - package: "com.microsoft.samples" - syntax: - content: "public V getValue()" - return: - type: "V" -references: -- uid: "com.microsoft.samples.KeyValuePair.KeyValuePair*" - name: "KeyValuePair" - nameWithType: "KeyValuePair.KeyValuePair" - fullName: "com.microsoft.samples.KeyValuePair.KeyValuePair" - package: "com.microsoft.samples" -- uid: "K" - spec.java: - - uid: "K" - name: "K" - fullName: "K" -- uid: "V" - spec.java: - - uid: "V" - name: "V" - fullName: "V" -- uid: "com.microsoft.samples.KeyValuePair.getKey*" - name: "getKey" - nameWithType: "KeyValuePair.getKey" - fullName: "com.microsoft.samples.KeyValuePair.getKey" - package: "com.microsoft.samples" -- uid: "com.microsoft.samples.KeyValuePair.getValue*" - name: "getValue" - nameWithType: "KeyValuePair.getValue" - fullName: "com.microsoft.samples.KeyValuePair.getValue" - package: "com.microsoft.samples" -- uid: "java.lang.Object.notify()" - name: "Object.notify()" - nameWithType: "Object.notify()" - fullName: "java.lang.Object.notify()" -- uid: "java.lang.Object.wait()" - name: "Object.wait()" - nameWithType: "Object.wait()" - fullName: "java.lang.Object.wait()" -- uid: "java.lang.Object.finalize()" - name: "Object.finalize()" - nameWithType: "Object.finalize()" - fullName: "java.lang.Object.finalize()" -- uid: "java.lang.Object.clone()" - name: "Object.clone()" - nameWithType: "Object.clone()" - fullName: "java.lang.Object.clone()" -- uid: "java.lang.Object.notifyAll()" - name: "Object.notifyAll()" - nameWithType: "Object.notifyAll()" - fullName: "java.lang.Object.notifyAll()" -- uid: "java.lang.Object.equals(java.lang.Object)" - name: "Object.equals(Object)" - nameWithType: "Object.equals(Object)" - fullName: "java.lang.Object.equals(java.lang.Object)" -- uid: "java.lang.Object.getClass()" - name: "Object.getClass()" - nameWithType: "Object.getClass()" - fullName: "java.lang.Object.getClass()" -- uid: "java.lang.Object.wait(long)" - name: "Object.wait(long)" - nameWithType: "Object.wait(long)" - fullName: "java.lang.Object.wait(long)" -- uid: "java.lang.Object.hashCode()" - name: "Object.hashCode()" - nameWithType: "Object.hashCode()" - fullName: "java.lang.Object.hashCode()" -- uid: "java.lang.Object.wait(long,int)" - name: "Object.wait(long,int)" - nameWithType: "Object.wait(long,int)" - fullName: "java.lang.Object.wait(long,int)" -- uid: "java.lang.Object.toString()" - name: "Object.toString()" - nameWithType: "Object.toString()" - fullName: "java.lang.Object.toString()" +### YamlMime:JavaType +uid: "com.microsoft.samples.KeyValuePair" +fullName: "com.microsoft.samples.KeyValuePair" +name: "KeyValuePair" +nameWithType: "KeyValuePair" +inheritances: +- "" +inheritedMembers: +- "java.lang.Object.clone()" +- "java.lang.Object.equals(java.lang.Object)" +- "java.lang.Object.finalize()" +- "java.lang.Object.getClass()" +- "java.lang.Object.hashCode()" +- "java.lang.Object.notify()" +- "java.lang.Object.notifyAll()" +- "java.lang.Object.toString()" +- "java.lang.Object.wait()" +- "java.lang.Object.wait(long)" +- "java.lang.Object.wait(long,int)" +syntax: "public class KeyValuePair" +constructors: +- "com.microsoft.samples.KeyValuePair.KeyValuePair()" +- "com.microsoft.samples.KeyValuePair.KeyValuePair(K,V)" +methods: +- "com.microsoft.samples.KeyValuePair.getKey()" +- "com.microsoft.samples.KeyValuePair.getValue()" +type: "class" +typeParameters: +- name: "K" +- name: "V" +metadata: {} +package: "com.microsoft.samples" diff --git a/src/test/resources/expected-generated-files/com.microsoft.samples.Link.Link.yml b/src/test/resources/expected-generated-files/com.microsoft.samples.Link.Link.yml new file mode 100644 index 0000000..c9a09ce --- /dev/null +++ b/src/test/resources/expected-generated-files/com.microsoft.samples.Link.Link.yml @@ -0,0 +1,14 @@ +### YamlMime:JavaMember +uid: "com.microsoft.samples.Link.Link*" +fullName: "com.microsoft.samples.Link.Link" +name: "Link" +nameWithType: "Link.Link" +members: +- uid: "com.microsoft.samples.Link.Link()" + fullName: "com.microsoft.samples.Link.Link()" + name: "Link()" + nameWithType: "Link.Link()" + syntax: "public Link()" +type: "constructor" +metadata: {} +package: "com.microsoft.samples" diff --git a/src/test/resources/expected-generated-files/com.microsoft.samples.Link.getHeaders.yml b/src/test/resources/expected-generated-files/com.microsoft.samples.Link.getHeaders.yml new file mode 100644 index 0000000..f2b63a6 --- /dev/null +++ b/src/test/resources/expected-generated-files/com.microsoft.samples.Link.getHeaders.yml @@ -0,0 +1,16 @@ +### YamlMime:JavaMember +uid: "com.microsoft.samples.Link.getHeaders*" +fullName: "com.microsoft.samples.Link.getHeaders" +name: "getHeaders" +nameWithType: "Link.getHeaders" +members: +- uid: "com.microsoft.samples.Link.getHeaders()" + fullName: "com.microsoft.samples.Link.getHeaders()" + name: "getHeaders()" + nameWithType: "Link.getHeaders()" + syntax: "public Collection> getHeaders()" + returns: + type: "<<,>>" +type: "method" +metadata: {} +package: "com.microsoft.samples" diff --git a/src/test/resources/expected-generated-files/com.microsoft.samples.Link.getMethod.yml b/src/test/resources/expected-generated-files/com.microsoft.samples.Link.getMethod.yml new file mode 100644 index 0000000..45ffc49 --- /dev/null +++ b/src/test/resources/expected-generated-files/com.microsoft.samples.Link.getMethod.yml @@ -0,0 +1,16 @@ +### YamlMime:JavaMember +uid: "com.microsoft.samples.Link.getMethod*" +fullName: "com.microsoft.samples.Link.getMethod" +name: "getMethod" +nameWithType: "Link.getMethod" +members: +- uid: "com.microsoft.samples.Link.getMethod()" + fullName: "com.microsoft.samples.Link.getMethod()" + name: "getMethod()" + nameWithType: "Link.getMethod()" + syntax: "public String getMethod()" + returns: + type: "" +type: "method" +metadata: {} +package: "com.microsoft.samples" diff --git a/src/test/resources/expected-generated-files/com.microsoft.samples.Link.setHeaders.yml b/src/test/resources/expected-generated-files/com.microsoft.samples.Link.setHeaders.yml new file mode 100644 index 0000000..6c1db4e --- /dev/null +++ b/src/test/resources/expected-generated-files/com.microsoft.samples.Link.setHeaders.yml @@ -0,0 +1,17 @@ +### YamlMime:JavaMember +uid: "com.microsoft.samples.Link.setHeaders*" +fullName: "com.microsoft.samples.Link.setHeaders" +name: "setHeaders" +nameWithType: "Link.setHeaders" +members: +- uid: "com.microsoft.samples.Link.setHeaders(java.util.Collection>)" + fullName: "com.microsoft.samples.Link.setHeaders(Collection> value)" + name: "setHeaders(Collection> value)" + nameWithType: "Link.setHeaders(Collection> value)" + parameters: + - name: "value" + type: "<<,>>" + syntax: "public void setHeaders(Collection> value)" +type: "method" +metadata: {} +package: "com.microsoft.samples" diff --git a/src/test/resources/expected-generated-files/com.microsoft.samples.Link.setMethod.yml b/src/test/resources/expected-generated-files/com.microsoft.samples.Link.setMethod.yml new file mode 100644 index 0000000..31c136e --- /dev/null +++ b/src/test/resources/expected-generated-files/com.microsoft.samples.Link.setMethod.yml @@ -0,0 +1,17 @@ +### YamlMime:JavaMember +uid: "com.microsoft.samples.Link.setMethod*" +fullName: "com.microsoft.samples.Link.setMethod" +name: "setMethod" +nameWithType: "Link.setMethod" +members: +- uid: "com.microsoft.samples.Link.setMethod(java.lang.String)" + fullName: "com.microsoft.samples.Link.setMethod(String value)" + name: "setMethod(String value)" + nameWithType: "Link.setMethod(String value)" + parameters: + - name: "value" + type: "" + syntax: "public void setMethod(String value)" +type: "method" +metadata: {} +package: "com.microsoft.samples" diff --git a/src/test/resources/expected-generated-files/com.microsoft.samples.Link.yml b/src/test/resources/expected-generated-files/com.microsoft.samples.Link.yml index cb95322..2154a9a 100644 --- a/src/test/resources/expected-generated-files/com.microsoft.samples.Link.yml +++ b/src/test/resources/expected-generated-files/com.microsoft.samples.Link.yml @@ -1,220 +1,30 @@ -### YamlMime:ManagedReference -items: -- uid: "com.microsoft.samples.Link" - id: "Link" - parent: "com.microsoft.samples" - children: - - "com.microsoft.samples.Link.Link()" - - "com.microsoft.samples.Link.getHeaders()" - - "com.microsoft.samples.Link.getMethod()" - - "com.microsoft.samples.Link.setHeaders(java.util.Collection>)" - - "com.microsoft.samples.Link.setMethod(java.lang.String)" - langs: - - "java" - name: "Link" - nameWithType: "Link" - fullName: "com.microsoft.samples.Link" - type: "Class" - package: "com.microsoft.samples" - syntax: - content: "public class Link" - inheritance: - - "java.lang.Object" - inheritedMembers: - - "java.lang.Object.clone()" - - "java.lang.Object.equals(java.lang.Object)" - - "java.lang.Object.finalize()" - - "java.lang.Object.getClass()" - - "java.lang.Object.hashCode()" - - "java.lang.Object.notify()" - - "java.lang.Object.notifyAll()" - - "java.lang.Object.toString()" - - "java.lang.Object.wait()" - - "java.lang.Object.wait(long)" - - "java.lang.Object.wait(long,int)" -- uid: "com.microsoft.samples.Link.Link()" - id: "Link()" - parent: "com.microsoft.samples.Link" - langs: - - "java" - name: "Link()" - nameWithType: "Link.Link()" - fullName: "com.microsoft.samples.Link.Link()" - overload: "com.microsoft.samples.Link.Link*" - type: "Constructor" - package: "com.microsoft.samples" - syntax: - content: "public Link()" -- uid: "com.microsoft.samples.Link.getHeaders()" - id: "getHeaders()" - parent: "com.microsoft.samples.Link" - langs: - - "java" - name: "getHeaders()" - nameWithType: "Link.getHeaders()" - fullName: "com.microsoft.samples.Link.getHeaders()" - overload: "com.microsoft.samples.Link.getHeaders*" - type: "Method" - package: "com.microsoft.samples" - syntax: - content: "public Collection> getHeaders()" - return: - type: "java.util.Collection>" -- uid: "com.microsoft.samples.Link.getMethod()" - id: "getMethod()" - parent: "com.microsoft.samples.Link" - langs: - - "java" - name: "getMethod()" - nameWithType: "Link.getMethod()" - fullName: "com.microsoft.samples.Link.getMethod()" - overload: "com.microsoft.samples.Link.getMethod*" - type: "Method" - package: "com.microsoft.samples" - syntax: - content: "public String getMethod()" - return: - type: "java.lang.String" -- uid: "com.microsoft.samples.Link.setHeaders(java.util.Collection>)" - id: "setHeaders(java.util.Collection>)" - parent: "com.microsoft.samples.Link" - langs: - - "java" - name: "setHeaders(Collection> value)" - nameWithType: "Link.setHeaders(Collection> value)" - fullName: "com.microsoft.samples.Link.setHeaders(Collection> value)" - overload: "com.microsoft.samples.Link.setHeaders*" - type: "Method" - package: "com.microsoft.samples" - syntax: - content: "public void setHeaders(Collection> value)" - parameters: - - id: "value" - type: "java.util.Collection>" -- uid: "com.microsoft.samples.Link.setMethod(java.lang.String)" - id: "setMethod(java.lang.String)" - parent: "com.microsoft.samples.Link" - langs: - - "java" - name: "setMethod(String value)" - nameWithType: "Link.setMethod(String value)" - fullName: "com.microsoft.samples.Link.setMethod(String value)" - overload: "com.microsoft.samples.Link.setMethod*" - type: "Method" - package: "com.microsoft.samples" - syntax: - content: "public void setMethod(String value)" - parameters: - - id: "value" - type: "java.lang.String" -references: -- uid: "com.microsoft.samples.Link.Link*" - name: "Link" - nameWithType: "Link.Link" - fullName: "com.microsoft.samples.Link.Link" - package: "com.microsoft.samples" -- uid: "java.lang.String" - spec.java: - - uid: "java.lang.String" - name: "String" - fullName: "java.lang.String" -- uid: "com.microsoft.samples.Link.getMethod*" - name: "getMethod" - nameWithType: "Link.getMethod" - fullName: "com.microsoft.samples.Link.getMethod" - package: "com.microsoft.samples" -- uid: "com.microsoft.samples.Link.setMethod*" - name: "setMethod" - nameWithType: "Link.setMethod" - fullName: "com.microsoft.samples.Link.setMethod" - package: "com.microsoft.samples" -- uid: "java.util.Collection>" - spec.java: - - uid: "java.util.Collection" - name: "Collection" - fullName: "java.util.Collection" - - name: "<" - fullName: "<" - - uid: "com.microsoft.samples.KeyValuePair" - name: "KeyValuePair" - fullName: "com.microsoft.samples.KeyValuePair" - - name: "<" - fullName: "<" - - uid: "java.lang.String" - name: "String" - fullName: "java.lang.String" - - name: "," - fullName: "," - - uid: "java.lang.String" - name: "String" - fullName: "java.lang.String" - - name: ">" - fullName: ">" - - name: ">" - fullName: ">" -- uid: "com.microsoft.samples.Link.getHeaders*" - name: "getHeaders" - nameWithType: "Link.getHeaders" - fullName: "com.microsoft.samples.Link.getHeaders" - package: "com.microsoft.samples" -- uid: "com.microsoft.samples.Link.setHeaders*" - name: "setHeaders" - nameWithType: "Link.setHeaders" - fullName: "com.microsoft.samples.Link.setHeaders" - package: "com.microsoft.samples" -- uid: "java.lang.Object.notify()" - name: "Object.notify()" - nameWithType: "Object.notify()" - fullName: "java.lang.Object.notify()" -- uid: "java.lang.Object.wait()" - name: "Object.wait()" - nameWithType: "Object.wait()" - fullName: "java.lang.Object.wait()" -- uid: "java.lang.Object.finalize()" - name: "Object.finalize()" - nameWithType: "Object.finalize()" - fullName: "java.lang.Object.finalize()" -- uid: "java.lang.Object.clone()" - name: "Object.clone()" - nameWithType: "Object.clone()" - fullName: "java.lang.Object.clone()" -- uid: "java.lang.Object.notifyAll()" - name: "Object.notifyAll()" - nameWithType: "Object.notifyAll()" - fullName: "java.lang.Object.notifyAll()" -- uid: "java.lang.Object.equals(java.lang.Object)" - name: "Object.equals(Object)" - nameWithType: "Object.equals(Object)" - fullName: "java.lang.Object.equals(java.lang.Object)" -- uid: "java.lang.Object.getClass()" - name: "Object.getClass()" - nameWithType: "Object.getClass()" - fullName: "java.lang.Object.getClass()" -- uid: "java.lang.Object.wait(long)" - name: "Object.wait(long)" - nameWithType: "Object.wait(long)" - fullName: "java.lang.Object.wait(long)" -- uid: "java.lang.Object.hashCode()" - name: "Object.hashCode()" - nameWithType: "Object.hashCode()" - fullName: "java.lang.Object.hashCode()" -- uid: "java.lang.Object.wait(long,int)" - name: "Object.wait(long,int)" - nameWithType: "Object.wait(long,int)" - fullName: "java.lang.Object.wait(long,int)" -- uid: "java.lang.Object.toString()" - name: "Object.toString()" - nameWithType: "Object.toString()" - fullName: "java.lang.Object.toString()" -- uid: "com.microsoft.samples.KeyValuePair" - name: "KeyValuePair" - nameWithType: "KeyValuePair" - fullName: "com.microsoft.samples.KeyValuePair" -- uid: "java.util.Collection" - name: "Collection" - nameWithType: "Collection" - fullName: "java.util.Collection" -- uid: "java.lang.String,java.lang.String" - name: "String,String" - nameWithType: "String,String" - fullName: "java.lang.String,java.lang.String" +### YamlMime:JavaType +uid: "com.microsoft.samples.Link" +fullName: "com.microsoft.samples.Link" +name: "Link" +nameWithType: "Link" +inheritances: +- "" +inheritedMembers: +- "java.lang.Object.clone()" +- "java.lang.Object.equals(java.lang.Object)" +- "java.lang.Object.finalize()" +- "java.lang.Object.getClass()" +- "java.lang.Object.hashCode()" +- "java.lang.Object.notify()" +- "java.lang.Object.notifyAll()" +- "java.lang.Object.toString()" +- "java.lang.Object.wait()" +- "java.lang.Object.wait(long)" +- "java.lang.Object.wait(long,int)" +syntax: "public class Link" +constructors: +- "com.microsoft.samples.Link.Link()" +methods: +- "com.microsoft.samples.Link.getHeaders()" +- "com.microsoft.samples.Link.getMethod()" +- "com.microsoft.samples.Link.setHeaders(java.util.Collection>)" +- "com.microsoft.samples.Link.setMethod(java.lang.String)" +type: "class" +metadata: {} +package: "com.microsoft.samples" diff --git a/src/test/resources/expected-generated-files/com.microsoft.samples.Subpackage(class).yml b/src/test/resources/expected-generated-files/com.microsoft.samples.Subpackage(class).yml index 2a9b410..7cfa4cc 100644 --- a/src/test/resources/expected-generated-files/com.microsoft.samples.Subpackage(class).yml +++ b/src/test/resources/expected-generated-files/com.microsoft.samples.Subpackage(class).yml @@ -1,93 +1,25 @@ -### YamlMime:ManagedReference -items: -- uid: "com.microsoft.samples.Subpackage" - id: "Subpackage" - parent: "com.microsoft.samples" - children: - - "com.microsoft.samples.Subpackage.Subpackage()" - langs: - - "java" - name: "Subpackage" - nameWithType: "Subpackage" - fullName: "com.microsoft.samples.Subpackage" - type: "Class" - package: "com.microsoft.samples" - syntax: - content: "public class Subpackage" - inheritance: - - "java.lang.Object" - inheritedMembers: - - "java.lang.Object.clone()" - - "java.lang.Object.equals(java.lang.Object)" - - "java.lang.Object.finalize()" - - "java.lang.Object.getClass()" - - "java.lang.Object.hashCode()" - - "java.lang.Object.notify()" - - "java.lang.Object.notifyAll()" - - "java.lang.Object.toString()" - - "java.lang.Object.wait()" - - "java.lang.Object.wait(long)" - - "java.lang.Object.wait(long,int)" -- uid: "com.microsoft.samples.Subpackage.Subpackage()" - id: "Subpackage()" - parent: "com.microsoft.samples.Subpackage" - langs: - - "java" - name: "Subpackage()" - nameWithType: "Subpackage.Subpackage()" - fullName: "com.microsoft.samples.Subpackage.Subpackage()" - overload: "com.microsoft.samples.Subpackage.Subpackage*" - type: "Constructor" - package: "com.microsoft.samples" - syntax: - content: "public Subpackage()" -references: -- uid: "com.microsoft.samples.Subpackage.Subpackage*" - name: "Subpackage" - nameWithType: "Subpackage.Subpackage" - fullName: "com.microsoft.samples.Subpackage.Subpackage" - package: "com.microsoft.samples" -- uid: "java.lang.Object.notify()" - name: "Object.notify()" - nameWithType: "Object.notify()" - fullName: "java.lang.Object.notify()" -- uid: "java.lang.Object.wait()" - name: "Object.wait()" - nameWithType: "Object.wait()" - fullName: "java.lang.Object.wait()" -- uid: "java.lang.Object.finalize()" - name: "Object.finalize()" - nameWithType: "Object.finalize()" - fullName: "java.lang.Object.finalize()" -- uid: "java.lang.Object.clone()" - name: "Object.clone()" - nameWithType: "Object.clone()" - fullName: "java.lang.Object.clone()" -- uid: "java.lang.Object.notifyAll()" - name: "Object.notifyAll()" - nameWithType: "Object.notifyAll()" - fullName: "java.lang.Object.notifyAll()" -- uid: "java.lang.Object.equals(java.lang.Object)" - name: "Object.equals(Object)" - nameWithType: "Object.equals(Object)" - fullName: "java.lang.Object.equals(java.lang.Object)" -- uid: "java.lang.Object.getClass()" - name: "Object.getClass()" - nameWithType: "Object.getClass()" - fullName: "java.lang.Object.getClass()" -- uid: "java.lang.Object.wait(long)" - name: "Object.wait(long)" - nameWithType: "Object.wait(long)" - fullName: "java.lang.Object.wait(long)" -- uid: "java.lang.Object.hashCode()" - name: "Object.hashCode()" - nameWithType: "Object.hashCode()" - fullName: "java.lang.Object.hashCode()" -- uid: "java.lang.Object.wait(long,int)" - name: "Object.wait(long,int)" - nameWithType: "Object.wait(long,int)" - fullName: "java.lang.Object.wait(long,int)" -- uid: "java.lang.Object.toString()" - name: "Object.toString()" - nameWithType: "Object.toString()" - fullName: "java.lang.Object.toString()" +### YamlMime:JavaType +uid: "com.microsoft.samples.Subpackage" +fullName: "com.microsoft.samples.Subpackage" +name: "Subpackage" +nameWithType: "Subpackage" +inheritances: +- "" +inheritedMembers: +- "java.lang.Object.clone()" +- "java.lang.Object.equals(java.lang.Object)" +- "java.lang.Object.finalize()" +- "java.lang.Object.getClass()" +- "java.lang.Object.hashCode()" +- "java.lang.Object.notify()" +- "java.lang.Object.notifyAll()" +- "java.lang.Object.toString()" +- "java.lang.Object.wait()" +- "java.lang.Object.wait(long)" +- "java.lang.Object.wait(long,int)" +syntax: "public class Subpackage" +constructors: +- "com.microsoft.samples.Subpackage.Subpackage()" +type: "class" +metadata: {} +package: "com.microsoft.samples" diff --git a/src/test/resources/expected-generated-files/com.microsoft.samples.Subpackage.Subpackage.yml b/src/test/resources/expected-generated-files/com.microsoft.samples.Subpackage.Subpackage.yml new file mode 100644 index 0000000..3d316e4 --- /dev/null +++ b/src/test/resources/expected-generated-files/com.microsoft.samples.Subpackage.Subpackage.yml @@ -0,0 +1,14 @@ +### YamlMime:JavaMember +uid: "com.microsoft.samples.Subpackage.Subpackage*" +fullName: "com.microsoft.samples.Subpackage.Subpackage" +name: "Subpackage" +nameWithType: "Subpackage.Subpackage" +members: +- uid: "com.microsoft.samples.Subpackage.Subpackage()" + fullName: "com.microsoft.samples.Subpackage.Subpackage()" + name: "Subpackage()" + nameWithType: "Subpackage.Subpackage()" + syntax: "public Subpackage()" +type: "constructor" +metadata: {} +package: "com.microsoft.samples" diff --git a/src/test/resources/expected-generated-files/com.microsoft.samples.SuperHero.ReturnNull.yml b/src/test/resources/expected-generated-files/com.microsoft.samples.SuperHero.ReturnNull.yml new file mode 100644 index 0000000..4f605cd --- /dev/null +++ b/src/test/resources/expected-generated-files/com.microsoft.samples.SuperHero.ReturnNull.yml @@ -0,0 +1,22 @@ +### YamlMime:JavaMember +uid: "com.microsoft.samples.SuperHero.ReturnNull*" +fullName: "com.microsoft.samples.SuperHero.ReturnNull" +name: "ReturnNull" +nameWithType: "SuperHero.ReturnNull" +members: +- uid: "com.microsoft.samples.SuperHero.ReturnNull(java.lang.Class)" + fullName: "com.microsoft.samples.SuperHero.ReturnNull(Class aClass)" + name: "ReturnNull(Class aClass)" + nameWithType: "SuperHero.ReturnNull(Class aClass)" + summary: "Returns a FileStoreAttributeView of the given type.\n\nThis method always returns null as no FileStoreAttributeView is currently supported." + parameters: + - description: "a class" + name: "aClass" + type: "<>" + syntax: "public V ReturnNull(Class aClass)" + returns: + description: "null" + type: "" +type: "method" +metadata: {} +package: "com.microsoft.samples" diff --git a/src/test/resources/expected-generated-files/com.microsoft.samples.SuperHero.SOME_PUBLIC_STRING.yml b/src/test/resources/expected-generated-files/com.microsoft.samples.SuperHero.SOME_PUBLIC_STRING.yml new file mode 100644 index 0000000..37effef --- /dev/null +++ b/src/test/resources/expected-generated-files/com.microsoft.samples.SuperHero.SOME_PUBLIC_STRING.yml @@ -0,0 +1,14 @@ +### YamlMime:JavaMember +uid: "com.microsoft.samples.SuperHero.SOME_PUBLIC_STRING" +fullName: "com.microsoft.samples.SuperHero.SOME_PUBLIC_STRING" +name: "SOME_PUBLIC_STRING" +nameWithType: "SuperHero.SOME_PUBLIC_STRING" +members: +- uid: "com.microsoft.samples.SuperHero.SOME_PUBLIC_STRING" + fullName: "com.microsoft.samples.SuperHero.SOME_PUBLIC_STRING" + name: "SOME_PUBLIC_STRING" + nameWithType: "SuperHero.SOME_PUBLIC_STRING" + syntax: "public final String SOME_PUBLIC_STRING" +type: "field" +metadata: {} +package: "com.microsoft.samples" diff --git a/src/test/resources/expected-generated-files/com.microsoft.samples.SuperHero.SuperHero.yml b/src/test/resources/expected-generated-files/com.microsoft.samples.SuperHero.SuperHero.yml new file mode 100644 index 0000000..20c57a7 --- /dev/null +++ b/src/test/resources/expected-generated-files/com.microsoft.samples.SuperHero.SuperHero.yml @@ -0,0 +1,28 @@ +### YamlMime:JavaMember +uid: "com.microsoft.samples.SuperHero.SuperHero*" +fullName: "com.microsoft.samples.SuperHero.SuperHero" +name: "SuperHero" +nameWithType: "SuperHero.SuperHero" +members: +- uid: "com.microsoft.samples.SuperHero.SuperHero()" + fullName: "com.microsoft.samples.SuperHero.SuperHero()" + name: "SuperHero()" + nameWithType: "SuperHero.SuperHero()" + syntax: "public SuperHero()" +- uid: "com.microsoft.samples.SuperHero.SuperHero(java.lang.String,java.lang.String,int,int)" + fullName: "com.microsoft.samples.SuperHero.SuperHero(String heroName, String uniquePower, int health, int defense)" + name: "SuperHero(String heroName, String uniquePower, int health, int defense)" + nameWithType: "SuperHero.SuperHero(String heroName, String uniquePower, int health, int defense)" + parameters: + - name: "heroName" + type: "" + - name: "uniquePower" + type: "" + - name: "health" + type: "" + - name: "defense" + type: "" + syntax: "public SuperHero(String heroName, String uniquePower, int health, int defense)" +type: "constructor" +metadata: {} +package: "com.microsoft.samples" diff --git a/src/test/resources/expected-generated-files/com.microsoft.samples.SuperHero.getDefense.yml b/src/test/resources/expected-generated-files/com.microsoft.samples.SuperHero.getDefense.yml new file mode 100644 index 0000000..aeb6205 --- /dev/null +++ b/src/test/resources/expected-generated-files/com.microsoft.samples.SuperHero.getDefense.yml @@ -0,0 +1,16 @@ +### YamlMime:JavaMember +uid: "com.microsoft.samples.SuperHero.getDefense*" +fullName: "com.microsoft.samples.SuperHero.getDefense" +name: "getDefense" +nameWithType: "SuperHero.getDefense" +members: +- uid: "com.microsoft.samples.SuperHero.getDefense()" + fullName: "com.microsoft.samples.SuperHero.getDefense()" + name: "getDefense()" + nameWithType: "SuperHero.getDefense()" + syntax: "public int getDefense()" + returns: + type: "" +type: "method" +metadata: {} +package: "com.microsoft.samples" diff --git a/src/test/resources/expected-generated-files/com.microsoft.samples.SuperHero.getHealth.yml b/src/test/resources/expected-generated-files/com.microsoft.samples.SuperHero.getHealth.yml new file mode 100644 index 0000000..1ebf6a9 --- /dev/null +++ b/src/test/resources/expected-generated-files/com.microsoft.samples.SuperHero.getHealth.yml @@ -0,0 +1,16 @@ +### YamlMime:JavaMember +uid: "com.microsoft.samples.SuperHero.getHealth*" +fullName: "com.microsoft.samples.SuperHero.getHealth" +name: "getHealth" +nameWithType: "SuperHero.getHealth" +members: +- uid: "com.microsoft.samples.SuperHero.getHealth()" + fullName: "com.microsoft.samples.SuperHero.getHealth()" + name: "getHealth()" + nameWithType: "SuperHero.getHealth()" + syntax: "protected int getHealth()" + returns: + type: "" +type: "method" +metadata: {} +package: "com.microsoft.samples" diff --git a/src/test/resources/expected-generated-files/com.microsoft.samples.SuperHero.getHeroName.yml b/src/test/resources/expected-generated-files/com.microsoft.samples.SuperHero.getHeroName.yml new file mode 100644 index 0000000..cbf58ae --- /dev/null +++ b/src/test/resources/expected-generated-files/com.microsoft.samples.SuperHero.getHeroName.yml @@ -0,0 +1,16 @@ +### YamlMime:JavaMember +uid: "com.microsoft.samples.SuperHero.getHeroName*" +fullName: "com.microsoft.samples.SuperHero.getHeroName" +name: "getHeroName" +nameWithType: "SuperHero.getHeroName" +members: +- uid: "com.microsoft.samples.SuperHero.getHeroName()" + fullName: "com.microsoft.samples.SuperHero.getHeroName()" + name: "getHeroName()" + nameWithType: "SuperHero.getHeroName()" + syntax: "public String getHeroName()" + returns: + type: "" +type: "method" +metadata: {} +package: "com.microsoft.samples" diff --git a/src/test/resources/expected-generated-files/com.microsoft.samples.SuperHero.getLastName.yml b/src/test/resources/expected-generated-files/com.microsoft.samples.SuperHero.getLastName.yml new file mode 100644 index 0000000..b11ada2 --- /dev/null +++ b/src/test/resources/expected-generated-files/com.microsoft.samples.SuperHero.getLastName.yml @@ -0,0 +1,19 @@ +### YamlMime:JavaMember +uid: "com.microsoft.samples.SuperHero.getLastName*" +fullName: "com.microsoft.samples.SuperHero.getLastName" +name: "getLastName" +nameWithType: "SuperHero.getLastName" +members: +- uid: "com.microsoft.samples.SuperHero.getLastName()" + fullName: "com.microsoft.samples.SuperHero.getLastName()" + name: "getLastName()" + nameWithType: "SuperHero.getLastName()" + summary: "Get capitalized last name. But it's not the end, because of multiline comment" + overridden: "com.microsoft.samples.subpackage.Person.getLastName()" + syntax: "public String getLastName()" + returns: + description: "lastName in uppercase. But it's not the end,\n because of multiline comment" + type: "" +type: "method" +metadata: {} +package: "com.microsoft.samples" diff --git a/src/test/resources/expected-generated-files/com.microsoft.samples.SuperHero.getUniquePower.yml b/src/test/resources/expected-generated-files/com.microsoft.samples.SuperHero.getUniquePower.yml new file mode 100644 index 0000000..21fcbed --- /dev/null +++ b/src/test/resources/expected-generated-files/com.microsoft.samples.SuperHero.getUniquePower.yml @@ -0,0 +1,16 @@ +### YamlMime:JavaMember +uid: "com.microsoft.samples.SuperHero.getUniquePower*" +fullName: "com.microsoft.samples.SuperHero.getUniquePower" +name: "getUniquePower" +nameWithType: "SuperHero.getUniquePower" +members: +- uid: "com.microsoft.samples.SuperHero.getUniquePower()" + fullName: "com.microsoft.samples.SuperHero.getUniquePower()" + name: "getUniquePower()" + nameWithType: "SuperHero.getUniquePower()" + syntax: "public String getUniquePower()" + returns: + type: "" +type: "method" +metadata: {} +package: "com.microsoft.samples" diff --git a/src/test/resources/expected-generated-files/com.microsoft.samples.SuperHero.setDefense.yml b/src/test/resources/expected-generated-files/com.microsoft.samples.SuperHero.setDefense.yml new file mode 100644 index 0000000..fb0f345 --- /dev/null +++ b/src/test/resources/expected-generated-files/com.microsoft.samples.SuperHero.setDefense.yml @@ -0,0 +1,17 @@ +### YamlMime:JavaMember +uid: "com.microsoft.samples.SuperHero.setDefense*" +fullName: "com.microsoft.samples.SuperHero.setDefense" +name: "setDefense" +nameWithType: "SuperHero.setDefense" +members: +- uid: "com.microsoft.samples.SuperHero.setDefense(int)" + fullName: "com.microsoft.samples.SuperHero.setDefense(int defense)" + name: "setDefense(int defense)" + nameWithType: "SuperHero.setDefense(int defense)" + parameters: + - name: "defense" + type: "" + syntax: "public void setDefense(int defense)" +type: "method" +metadata: {} +package: "com.microsoft.samples" diff --git a/src/test/resources/expected-generated-files/com.microsoft.samples.SuperHero.setHealth.yml b/src/test/resources/expected-generated-files/com.microsoft.samples.SuperHero.setHealth.yml new file mode 100644 index 0000000..10ba4aa --- /dev/null +++ b/src/test/resources/expected-generated-files/com.microsoft.samples.SuperHero.setHealth.yml @@ -0,0 +1,17 @@ +### YamlMime:JavaMember +uid: "com.microsoft.samples.SuperHero.setHealth*" +fullName: "com.microsoft.samples.SuperHero.setHealth" +name: "setHealth" +nameWithType: "SuperHero.setHealth" +members: +- uid: "com.microsoft.samples.SuperHero.setHealth(int)" + fullName: "com.microsoft.samples.SuperHero.setHealth(int health)" + name: "setHealth(int health)" + nameWithType: "SuperHero.setHealth(int health)" + parameters: + - name: "health" + type: "" + syntax: "protected void setHealth(int health)" +type: "method" +metadata: {} +package: "com.microsoft.samples" diff --git a/src/test/resources/expected-generated-files/com.microsoft.samples.SuperHero.setHeroName.yml b/src/test/resources/expected-generated-files/com.microsoft.samples.SuperHero.setHeroName.yml new file mode 100644 index 0000000..4d5bc5c --- /dev/null +++ b/src/test/resources/expected-generated-files/com.microsoft.samples.SuperHero.setHeroName.yml @@ -0,0 +1,17 @@ +### YamlMime:JavaMember +uid: "com.microsoft.samples.SuperHero.setHeroName*" +fullName: "com.microsoft.samples.SuperHero.setHeroName" +name: "setHeroName" +nameWithType: "SuperHero.setHeroName" +members: +- uid: "com.microsoft.samples.SuperHero.setHeroName(java.lang.String)" + fullName: "com.microsoft.samples.SuperHero.setHeroName(String heroName)" + name: "setHeroName(String heroName)" + nameWithType: "SuperHero.setHeroName(String heroName)" + parameters: + - name: "heroName" + type: "" + syntax: "public void setHeroName(String heroName)" +type: "method" +metadata: {} +package: "com.microsoft.samples" diff --git a/src/test/resources/expected-generated-files/com.microsoft.samples.SuperHero.setUniquePower.yml b/src/test/resources/expected-generated-files/com.microsoft.samples.SuperHero.setUniquePower.yml new file mode 100644 index 0000000..a9dd320 --- /dev/null +++ b/src/test/resources/expected-generated-files/com.microsoft.samples.SuperHero.setUniquePower.yml @@ -0,0 +1,17 @@ +### YamlMime:JavaMember +uid: "com.microsoft.samples.SuperHero.setUniquePower*" +fullName: "com.microsoft.samples.SuperHero.setUniquePower" +name: "setUniquePower" +nameWithType: "SuperHero.setUniquePower" +members: +- uid: "com.microsoft.samples.SuperHero.setUniquePower(java.lang.String)" + fullName: "com.microsoft.samples.SuperHero.setUniquePower(String uniquePower)" + name: "setUniquePower(String uniquePower)" + nameWithType: "SuperHero.setUniquePower(String uniquePower)" + parameters: + - name: "uniquePower" + type: "" + syntax: "public void setUniquePower(String uniquePower)" +type: "method" +metadata: {} +package: "com.microsoft.samples" diff --git a/src/test/resources/expected-generated-files/com.microsoft.samples.SuperHero.successfullyAttacked.yml b/src/test/resources/expected-generated-files/com.microsoft.samples.SuperHero.successfullyAttacked.yml new file mode 100644 index 0000000..b992c03 --- /dev/null +++ b/src/test/resources/expected-generated-files/com.microsoft.samples.SuperHero.successfullyAttacked.yml @@ -0,0 +1,28 @@ +### YamlMime:JavaMember +uid: "com.microsoft.samples.SuperHero.successfullyAttacked*" +fullName: "com.microsoft.samples.SuperHero.successfullyAttacked" +name: "successfullyAttacked" +nameWithType: "SuperHero.successfullyAttacked" +members: +- uid: "com.microsoft.samples.SuperHero.successfullyAttacked(int,java.lang.String)" + fullName: "com.microsoft.samples.SuperHero.successfullyAttacked(int incomingDamage, String damageType)" + name: "successfullyAttacked(int incomingDamage, String damageType)" + nameWithType: "SuperHero.successfullyAttacked(int incomingDamage, String damageType)" + summary: "This is a simple description of the method. . . [Superman!][Superman]\n\n\n[Superman]: http://www.supermanisthegreatest.com" + parameters: + - description: "the amount of incoming damage for SuperHero" + name: "incomingDamage" + type: "" + - description: "type of damage with similar word damageTypeLong, sure" + name: "damageType" + type: "" + syntax: "public int successfullyAttacked(int incomingDamage, String damageType)" + exceptions: + - description: "when incomingDamage is negative and thanks for Exception" + type: "" + returns: + description: "the amount of health hero has after attack" + type: "" +type: "method" +metadata: {} +package: "com.microsoft.samples" diff --git a/src/test/resources/expected-generated-files/com.microsoft.samples.SuperHero.yml b/src/test/resources/expected-generated-files/com.microsoft.samples.SuperHero.yml index 6a03c93..682ff90 100644 --- a/src/test/resources/expected-generated-files/com.microsoft.samples.SuperHero.yml +++ b/src/test/resources/expected-generated-files/com.microsoft.samples.SuperHero.yml @@ -1,427 +1,52 @@ -### YamlMime:ManagedReference -items: -- uid: "com.microsoft.samples.SuperHero" - id: "SuperHero" - parent: "com.microsoft.samples" - children: - - "com.microsoft.samples.SuperHero.SOME_PUBLIC_STRING" - - "com.microsoft.samples.SuperHero.SuperHero()" - - "com.microsoft.samples.SuperHero.SuperHero(java.lang.String,java.lang.String,int,int)" - - "com.microsoft.samples.SuperHero.getDefense()" - - "com.microsoft.samples.SuperHero.getHealth()" - - "com.microsoft.samples.SuperHero.getHeroName()" - - "com.microsoft.samples.SuperHero.getLastName()" - - "com.microsoft.samples.SuperHero.getUniquePower()" - - "com.microsoft.samples.SuperHero.setDefense(int)" - - "com.microsoft.samples.SuperHero.setHealth(int)" - - "com.microsoft.samples.SuperHero.setHeroName(java.lang.String)" - - "com.microsoft.samples.SuperHero.setUniquePower(java.lang.String)" - - "com.microsoft.samples.SuperHero.successfullyAttacked(int,java.lang.String)" - langs: - - "java" - name: "SuperHero" - nameWithType: "SuperHero" - fullName: "com.microsoft.samples.SuperHero" - type: "Class" - package: "com.microsoft.samples" - summary: "Hero is the main entity we will be using to something" - syntax: - content: "public class SuperHero extends Person implements Serializable, Cloneable" - inheritance: - - "java.lang.Object" - - "com.microsoft.samples.subpackage.Person" - implements: - - "java.io.Serializable" - - "java.lang.Cloneable" - inheritedMembers: - - "com.microsoft.samples.subpackage.Person.buildPerson(com.microsoft.samples.subpackage.Person)" - - "com.microsoft.samples.subpackage.Person.getFirstName()" - - "com.microsoft.samples.subpackage.Person.getLastName()" - - "com.microsoft.samples.subpackage.Person.getSomeSet()" - - "com.microsoft.samples.subpackage.Person.setFirstName(java.lang.String)" - - "com.microsoft.samples.subpackage.Person.setLastName()" - - "com.microsoft.samples.subpackage.Person.setLastName(java.lang.String)" - - "java.lang.Object.clone()" - - "java.lang.Object.equals(java.lang.Object)" - - "java.lang.Object.finalize()" - - "java.lang.Object.getClass()" - - "java.lang.Object.hashCode()" - - "java.lang.Object.notify()" - - "java.lang.Object.notifyAll()" - - "java.lang.Object.toString()" - - "java.lang.Object.wait()" - - "java.lang.Object.wait(long)" - - "java.lang.Object.wait(long,int)" -- uid: "com.microsoft.samples.SuperHero.SOME_PUBLIC_STRING" - id: "SOME_PUBLIC_STRING" - parent: "com.microsoft.samples.SuperHero" - langs: - - "java" - name: "SOME_PUBLIC_STRING" - nameWithType: "SuperHero.SOME_PUBLIC_STRING" - fullName: "com.microsoft.samples.SuperHero.SOME_PUBLIC_STRING" - type: "Field" - package: "com.microsoft.samples" - syntax: - content: "public final String SOME_PUBLIC_STRING" - return: - type: "java.lang.String" -- uid: "com.microsoft.samples.SuperHero.SuperHero()" - id: "SuperHero()" - parent: "com.microsoft.samples.SuperHero" - langs: - - "java" - name: "SuperHero()" - nameWithType: "SuperHero.SuperHero()" - fullName: "com.microsoft.samples.SuperHero.SuperHero()" - overload: "com.microsoft.samples.SuperHero.SuperHero*" - type: "Constructor" - package: "com.microsoft.samples" - syntax: - content: "public SuperHero()" -- uid: "com.microsoft.samples.SuperHero.SuperHero(java.lang.String,java.lang.String,int,int)" - id: "SuperHero(java.lang.String,java.lang.String,int,int)" - parent: "com.microsoft.samples.SuperHero" - langs: - - "java" - name: "SuperHero(String heroName, String uniquePower, int health, int defense)" - nameWithType: "SuperHero.SuperHero(String heroName, String uniquePower, int health, int defense)" - fullName: "com.microsoft.samples.SuperHero.SuperHero(String heroName, String uniquePower, int health, int defense)" - overload: "com.microsoft.samples.SuperHero.SuperHero*" - type: "Constructor" - package: "com.microsoft.samples" - syntax: - content: "public SuperHero(String heroName, String uniquePower, int health, int defense)" - parameters: - - id: "heroName" - type: "java.lang.String" - - id: "uniquePower" - type: "java.lang.String" - - id: "health" - type: "int" - - id: "defense" - type: "int" -- uid: "com.microsoft.samples.SuperHero.getDefense()" - id: "getDefense()" - parent: "com.microsoft.samples.SuperHero" - langs: - - "java" - name: "getDefense()" - nameWithType: "SuperHero.getDefense()" - fullName: "com.microsoft.samples.SuperHero.getDefense()" - overload: "com.microsoft.samples.SuperHero.getDefense*" - type: "Method" - package: "com.microsoft.samples" - syntax: - content: "public int getDefense()" - return: - type: "int" -- uid: "com.microsoft.samples.SuperHero.getHealth()" - id: "getHealth()" - parent: "com.microsoft.samples.SuperHero" - langs: - - "java" - name: "getHealth()" - nameWithType: "SuperHero.getHealth()" - fullName: "com.microsoft.samples.SuperHero.getHealth()" - overload: "com.microsoft.samples.SuperHero.getHealth*" - type: "Method" - package: "com.microsoft.samples" - syntax: - content: "protected int getHealth()" - return: - type: "int" -- uid: "com.microsoft.samples.SuperHero.getHeroName()" - id: "getHeroName()" - parent: "com.microsoft.samples.SuperHero" - langs: - - "java" - name: "getHeroName()" - nameWithType: "SuperHero.getHeroName()" - fullName: "com.microsoft.samples.SuperHero.getHeroName()" - overload: "com.microsoft.samples.SuperHero.getHeroName*" - type: "Method" - package: "com.microsoft.samples" - syntax: - content: "public String getHeroName()" - return: - type: "java.lang.String" -- uid: "com.microsoft.samples.SuperHero.getLastName()" - id: "getLastName()" - parent: "com.microsoft.samples.SuperHero" - langs: - - "java" - name: "getLastName()" - nameWithType: "SuperHero.getLastName()" - fullName: "com.microsoft.samples.SuperHero.getLastName()" - overload: "com.microsoft.samples.SuperHero.getLastName*" - overridden: "com.microsoft.samples.subpackage.Person.getLastName()" - type: "Method" - package: "com.microsoft.samples" - summary: "Get capitalized last name. But it's not the end, because of multiline comment" - syntax: - content: "public String getLastName()" - return: - type: "java.lang.String" - description: "lastName in uppercase. But it's not the end,\n because of multiline comment" -- uid: "com.microsoft.samples.SuperHero.getUniquePower()" - id: "getUniquePower()" - parent: "com.microsoft.samples.SuperHero" - langs: - - "java" - name: "getUniquePower()" - nameWithType: "SuperHero.getUniquePower()" - fullName: "com.microsoft.samples.SuperHero.getUniquePower()" - overload: "com.microsoft.samples.SuperHero.getUniquePower*" - type: "Method" - package: "com.microsoft.samples" - syntax: - content: "public String getUniquePower()" - return: - type: "java.lang.String" -- uid: "com.microsoft.samples.SuperHero.setDefense(int)" - id: "setDefense(int)" - parent: "com.microsoft.samples.SuperHero" - langs: - - "java" - name: "setDefense(int defense)" - nameWithType: "SuperHero.setDefense(int defense)" - fullName: "com.microsoft.samples.SuperHero.setDefense(int defense)" - overload: "com.microsoft.samples.SuperHero.setDefense*" - type: "Method" - package: "com.microsoft.samples" - syntax: - content: "public void setDefense(int defense)" - parameters: - - id: "defense" - type: "int" -- uid: "com.microsoft.samples.SuperHero.setHealth(int)" - id: "setHealth(int)" - parent: "com.microsoft.samples.SuperHero" - langs: - - "java" - name: "setHealth(int health)" - nameWithType: "SuperHero.setHealth(int health)" - fullName: "com.microsoft.samples.SuperHero.setHealth(int health)" - overload: "com.microsoft.samples.SuperHero.setHealth*" - type: "Method" - package: "com.microsoft.samples" - syntax: - content: "protected void setHealth(int health)" - parameters: - - id: "health" - type: "int" -- uid: "com.microsoft.samples.SuperHero.setHeroName(java.lang.String)" - id: "setHeroName(java.lang.String)" - parent: "com.microsoft.samples.SuperHero" - langs: - - "java" - name: "setHeroName(String heroName)" - nameWithType: "SuperHero.setHeroName(String heroName)" - fullName: "com.microsoft.samples.SuperHero.setHeroName(String heroName)" - overload: "com.microsoft.samples.SuperHero.setHeroName*" - type: "Method" - package: "com.microsoft.samples" - syntax: - content: "public void setHeroName(String heroName)" - parameters: - - id: "heroName" - type: "java.lang.String" -- uid: "com.microsoft.samples.SuperHero.setUniquePower(java.lang.String)" - id: "setUniquePower(java.lang.String)" - parent: "com.microsoft.samples.SuperHero" - langs: - - "java" - name: "setUniquePower(String uniquePower)" - nameWithType: "SuperHero.setUniquePower(String uniquePower)" - fullName: "com.microsoft.samples.SuperHero.setUniquePower(String uniquePower)" - overload: "com.microsoft.samples.SuperHero.setUniquePower*" - type: "Method" - package: "com.microsoft.samples" - syntax: - content: "public void setUniquePower(String uniquePower)" - parameters: - - id: "uniquePower" - type: "java.lang.String" -- uid: "com.microsoft.samples.SuperHero.successfullyAttacked(int,java.lang.String)" - id: "successfullyAttacked(int,java.lang.String)" - parent: "com.microsoft.samples.SuperHero" - langs: - - "java" - name: "successfullyAttacked(int incomingDamage, String damageType)" - nameWithType: "SuperHero.successfullyAttacked(int incomingDamage, String damageType)" - fullName: "com.microsoft.samples.SuperHero.successfullyAttacked(int incomingDamage, String damageType)" - overload: "com.microsoft.samples.SuperHero.successfullyAttacked*" - type: "Method" - package: "com.microsoft.samples" - summary: "This is a simple description of the method. . . [Superman!][Superman]\n\n\n[Superman]: http://www.supermanisthegreatest.com" - syntax: - content: "public int successfullyAttacked(int incomingDamage, String damageType)" - parameters: - - id: "incomingDamage" - type: "int" - description: "the amount of incoming damage for SuperHero" - - id: "damageType" - type: "java.lang.String" - description: "type of damage with similar word damageTypeLong, sure" - return: - type: "int" - description: "the amount of health hero has after attack" - exceptions: - - type: "java.lang.IllegalArgumentException" - description: "when incomingDamage is negative and thanks for Exception" -references: -- uid: "com.microsoft.samples.SuperHero.SuperHero*" - name: "SuperHero" - nameWithType: "SuperHero.SuperHero" - fullName: "com.microsoft.samples.SuperHero.SuperHero" - package: "com.microsoft.samples" -- uid: "java.lang.String" - spec.java: - - uid: "java.lang.String" - name: "String" - fullName: "java.lang.String" -- uid: "int" - spec.java: - - uid: "int" - name: "int" - fullName: "int" -- uid: "java.lang.IllegalArgumentException" - spec.java: - - uid: "java.lang.IllegalArgumentException" - name: "IllegalArgumentException" - fullName: "java.lang.IllegalArgumentException" -- uid: "com.microsoft.samples.SuperHero.successfullyAttacked*" - name: "successfullyAttacked" - nameWithType: "SuperHero.successfullyAttacked" - fullName: "com.microsoft.samples.SuperHero.successfullyAttacked" - package: "com.microsoft.samples" -- uid: "com.microsoft.samples.SuperHero.getHeroName*" - name: "getHeroName" - nameWithType: "SuperHero.getHeroName" - fullName: "com.microsoft.samples.SuperHero.getHeroName" - package: "com.microsoft.samples" -- uid: "com.microsoft.samples.SuperHero.setHeroName*" - name: "setHeroName" - nameWithType: "SuperHero.setHeroName" - fullName: "com.microsoft.samples.SuperHero.setHeroName" - package: "com.microsoft.samples" -- uid: "com.microsoft.samples.SuperHero.getLastName*" - name: "getLastName" - nameWithType: "SuperHero.getLastName" - fullName: "com.microsoft.samples.SuperHero.getLastName" - package: "com.microsoft.samples" -- uid: "com.microsoft.samples.SuperHero.getUniquePower*" - name: "getUniquePower" - nameWithType: "SuperHero.getUniquePower" - fullName: "com.microsoft.samples.SuperHero.getUniquePower" - package: "com.microsoft.samples" -- uid: "com.microsoft.samples.SuperHero.setUniquePower*" - name: "setUniquePower" - nameWithType: "SuperHero.setUniquePower" - fullName: "com.microsoft.samples.SuperHero.setUniquePower" - package: "com.microsoft.samples" -- uid: "com.microsoft.samples.SuperHero.getHealth*" - name: "getHealth" - nameWithType: "SuperHero.getHealth" - fullName: "com.microsoft.samples.SuperHero.getHealth" - package: "com.microsoft.samples" -- uid: "com.microsoft.samples.SuperHero.setHealth*" - name: "setHealth" - nameWithType: "SuperHero.setHealth" - fullName: "com.microsoft.samples.SuperHero.setHealth" - package: "com.microsoft.samples" -- uid: "com.microsoft.samples.SuperHero.getDefense*" - name: "getDefense" - nameWithType: "SuperHero.getDefense" - fullName: "com.microsoft.samples.SuperHero.getDefense" - package: "com.microsoft.samples" -- uid: "com.microsoft.samples.SuperHero.setDefense*" - name: "setDefense" - nameWithType: "SuperHero.setDefense" - fullName: "com.microsoft.samples.SuperHero.setDefense" - package: "com.microsoft.samples" -- uid: "com.microsoft.samples.subpackage.Person" - name: "Person" - nameWithType: "Person" - fullName: "com.microsoft.samples.subpackage.Person" -- uid: "java.lang.Cloneable" - name: "Cloneable" - nameWithType: "Cloneable" - fullName: "java.lang.Cloneable" -- uid: "java.io.Serializable" - name: "Serializable" - nameWithType: "Serializable" - fullName: "java.io.Serializable" -- uid: "com.microsoft.samples.subpackage.Person.setFirstName(java.lang.String)" - name: "Person.setFirstName(String)" - nameWithType: "Person.setFirstName(String)" - fullName: "com.microsoft.samples.subpackage.Person.setFirstName(java.lang.String)" -- uid: "com.microsoft.samples.subpackage.Person.getLastName()" - name: "Person.getLastName()" - nameWithType: "Person.getLastName()" - fullName: "com.microsoft.samples.subpackage.Person.getLastName()" -- uid: "java.lang.Object.notify()" - name: "Object.notify()" - nameWithType: "Object.notify()" - fullName: "java.lang.Object.notify()" -- uid: "java.lang.Object.wait()" - name: "Object.wait()" - nameWithType: "Object.wait()" - fullName: "java.lang.Object.wait()" -- uid: "java.lang.Object.finalize()" - name: "Object.finalize()" - nameWithType: "Object.finalize()" - fullName: "java.lang.Object.finalize()" -- uid: "java.lang.Object.notifyAll()" - name: "Object.notifyAll()" - nameWithType: "Object.notifyAll()" - fullName: "java.lang.Object.notifyAll()" -- uid: "java.lang.Object.clone()" - name: "Object.clone()" - nameWithType: "Object.clone()" - fullName: "java.lang.Object.clone()" -- uid: "java.lang.Object.equals(java.lang.Object)" - name: "Object.equals(Object)" - nameWithType: "Object.equals(Object)" - fullName: "java.lang.Object.equals(java.lang.Object)" -- uid: "java.lang.Object.toString()" - name: "Object.toString()" - nameWithType: "Object.toString()" - fullName: "java.lang.Object.toString()" -- uid: "com.microsoft.samples.subpackage.Person.getFirstName()" - name: "Person.getFirstName()" - nameWithType: "Person.getFirstName()" - fullName: "com.microsoft.samples.subpackage.Person.getFirstName()" -- uid: "com.microsoft.samples.subpackage.Person.getSomeSet()" - name: "Person.getSomeSet()" - nameWithType: "Person.getSomeSet()" - fullName: "com.microsoft.samples.subpackage.Person.getSomeSet()" -- uid: "java.lang.Object.getClass()" - name: "Object.getClass()" - nameWithType: "Object.getClass()" - fullName: "java.lang.Object.getClass()" -- uid: "java.lang.Object.wait(long)" - name: "Object.wait(long)" - nameWithType: "Object.wait(long)" - fullName: "java.lang.Object.wait(long)" -- uid: "com.microsoft.samples.subpackage.Person.setLastName(java.lang.String)" - name: "Person.setLastName(String)" - nameWithType: "Person.setLastName(String)" - fullName: "com.microsoft.samples.subpackage.Person.setLastName(java.lang.String)" -- uid: "java.lang.Object.hashCode()" - name: "Object.hashCode()" - nameWithType: "Object.hashCode()" - fullName: "java.lang.Object.hashCode()" -- uid: "com.microsoft.samples.subpackage.Person.setLastName()" - name: "Person.setLastName()" - nameWithType: "Person.setLastName()" - fullName: "com.microsoft.samples.subpackage.Person.setLastName()" -- uid: "com.microsoft.samples.subpackage.Person.buildPerson(com.microsoft.samples.subpackage.Person)" - name: "Person.buildPerson(Person)" - nameWithType: "Person.buildPerson(Person)" - fullName: "com.microsoft.samples.subpackage.Person.buildPerson(com.microsoft.samples.subpackage.Person)" -- uid: "java.lang.Object.wait(long,int)" - name: "Object.wait(long,int)" - nameWithType: "Object.wait(long,int)" - fullName: "java.lang.Object.wait(long,int)" +### YamlMime:JavaType +uid: "com.microsoft.samples.SuperHero" +fullName: "com.microsoft.samples.SuperHero" +name: "SuperHero" +nameWithType: "SuperHero" +summary: "Hero is the main entity we will be using to something" +inheritances: +- "" +- "" +inheritedMembers: +- "com.microsoft.samples.subpackage.Person.buildPerson(com.microsoft.samples.subpackage.Person)" +- "com.microsoft.samples.subpackage.Person.getFirstName()" +- "com.microsoft.samples.subpackage.Person.getLastName()" +- "com.microsoft.samples.subpackage.Person.getSomeSet()" +- "com.microsoft.samples.subpackage.Person.setFirstName(java.lang.String)" +- "com.microsoft.samples.subpackage.Person.setLastName()" +- "com.microsoft.samples.subpackage.Person.setLastName(java.lang.String)" +- "java.lang.Object.clone()" +- "java.lang.Object.equals(java.lang.Object)" +- "java.lang.Object.finalize()" +- "java.lang.Object.getClass()" +- "java.lang.Object.hashCode()" +- "java.lang.Object.notify()" +- "java.lang.Object.notifyAll()" +- "java.lang.Object.toString()" +- "java.lang.Object.wait()" +- "java.lang.Object.wait(long)" +- "java.lang.Object.wait(long,int)" +syntax: "public class SuperHero extends Person implements Serializable, Cloneable" +constructors: +- "com.microsoft.samples.SuperHero.SuperHero()" +- "com.microsoft.samples.SuperHero.SuperHero(java.lang.String,java.lang.String,int,int)" +fields: +- "com.microsoft.samples.SuperHero.SOME_PUBLIC_STRING" +methods: +- "com.microsoft.samples.SuperHero.ReturnNull(java.lang.Class)" +- "com.microsoft.samples.SuperHero.getDefense()" +- "com.microsoft.samples.SuperHero.getHealth()" +- "com.microsoft.samples.SuperHero.getHeroName()" +- "com.microsoft.samples.SuperHero.getLastName()" +- "com.microsoft.samples.SuperHero.getUniquePower()" +- "com.microsoft.samples.SuperHero.setDefense(int)" +- "com.microsoft.samples.SuperHero.setHealth(int)" +- "com.microsoft.samples.SuperHero.setHeroName(java.lang.String)" +- "com.microsoft.samples.SuperHero.setUniquePower(java.lang.String)" +- "com.microsoft.samples.SuperHero.successfullyAttacked(int,java.lang.String)" +type: "class" +implements: +- "" +- "" +metadata: {} +package: "com.microsoft.samples" diff --git a/src/test/resources/expected-generated-files/com.microsoft.samples.agreements.AgreementDetailsCollectionOperations.AgreementDetailsCollectionOperations.yml b/src/test/resources/expected-generated-files/com.microsoft.samples.agreements.AgreementDetailsCollectionOperations.AgreementDetailsCollectionOperations.yml new file mode 100644 index 0000000..4e0564e --- /dev/null +++ b/src/test/resources/expected-generated-files/com.microsoft.samples.agreements.AgreementDetailsCollectionOperations.AgreementDetailsCollectionOperations.yml @@ -0,0 +1,19 @@ +### YamlMime:JavaMember +uid: "com.microsoft.samples.agreements.AgreementDetailsCollectionOperations.AgreementDetailsCollectionOperations*" +fullName: "com.microsoft.samples.agreements.AgreementDetailsCollectionOperations.AgreementDetailsCollectionOperations" +name: "AgreementDetailsCollectionOperations" +nameWithType: "AgreementDetailsCollectionOperations.AgreementDetailsCollectionOperations" +members: +- uid: "com.microsoft.samples.agreements.AgreementDetailsCollectionOperations.AgreementDetailsCollectionOperations(com.microsoft.samples.IPartner)" + fullName: "com.microsoft.samples.agreements.AgreementDetailsCollectionOperations.AgreementDetailsCollectionOperations(IPartner rootPartnerOperations)" + name: "AgreementDetailsCollectionOperations(IPartner rootPartnerOperations)" + nameWithType: "AgreementDetailsCollectionOperations.AgreementDetailsCollectionOperations(IPartner rootPartnerOperations)" + summary: "Initializes a new instance of the AgreementDetailsCollectionOperations class." + parameters: + - description: "The root partner operations instance." + name: "rootPartnerOperations" + type: "" + syntax: "public AgreementDetailsCollectionOperations(IPartner rootPartnerOperations)" +type: "constructor" +metadata: {} +package: "com.microsoft.samples.agreements" diff --git a/src/test/resources/expected-generated-files/com.microsoft.samples.agreements.AgreementDetailsCollectionOperations.get.yml b/src/test/resources/expected-generated-files/com.microsoft.samples.agreements.AgreementDetailsCollectionOperations.get.yml new file mode 100644 index 0000000..9b3c2a4 --- /dev/null +++ b/src/test/resources/expected-generated-files/com.microsoft.samples.agreements.AgreementDetailsCollectionOperations.get.yml @@ -0,0 +1,28 @@ +### YamlMime:JavaMember +uid: "com.microsoft.samples.agreements.AgreementDetailsCollectionOperations.get*" +fullName: "com.microsoft.samples.agreements.AgreementDetailsCollectionOperations.get" +name: "get" +nameWithType: "AgreementDetailsCollectionOperations.get" +members: +- uid: "com.microsoft.samples.agreements.AgreementDetailsCollectionOperations.get()" + fullName: "com.microsoft.samples.agreements.AgreementDetailsCollectionOperations.get()" + name: "get()" + nameWithType: "AgreementDetailsCollectionOperations.get()" + summary: "Retrieves the agreement details." + syntax: "public ResourceCollection get()" + returns: + description: "A list of agreement details." + type: "<>" +- uid: "com.microsoft.samples.agreements.AgreementDetailsCollectionOperations.get(java.lang.String)" + fullName: "com.microsoft.samples.agreements.AgreementDetailsCollectionOperations.get(String id)" + name: "get(String id)" + nameWithType: "AgreementDetailsCollectionOperations.get(String id)" + parameters: + - name: "id" + type: "" + syntax: "public ResourceCollection get(String id)" + returns: + type: "<>" +type: "method" +metadata: {} +package: "com.microsoft.samples.agreements" diff --git a/src/test/resources/expected-generated-files/com.microsoft.samples.agreements.AgreementDetailsCollectionOperations.yml b/src/test/resources/expected-generated-files/com.microsoft.samples.agreements.AgreementDetailsCollectionOperations.yml index 3bf97ca..e56f9bf 100644 --- a/src/test/resources/expected-generated-files/com.microsoft.samples.agreements.AgreementDetailsCollectionOperations.yml +++ b/src/test/resources/expected-generated-files/com.microsoft.samples.agreements.AgreementDetailsCollectionOperations.yml @@ -1,168 +1,35 @@ -### YamlMime:ManagedReference -items: -- uid: "com.microsoft.samples.agreements.AgreementDetailsCollectionOperations" - id: "AgreementDetailsCollectionOperations" - parent: "com.microsoft.samples.agreements" - children: - - "com.microsoft.samples.agreements.AgreementDetailsCollectionOperations.AgreementDetailsCollectionOperations(com.microsoft.samples.IPartner)" - - "com.microsoft.samples.agreements.AgreementDetailsCollectionOperations.get()" - langs: - - "java" - name: "AgreementDetailsCollectionOperations" - nameWithType: "AgreementDetailsCollectionOperations" - fullName: "com.microsoft.samples.agreements.AgreementDetailsCollectionOperations" - type: "Class" - package: "com.microsoft.samples.agreements" - summary: "Agreement details collection operations implementation class." - syntax: - content: "public class AgreementDetailsCollectionOperations extends BasePartnerComponentString implements IAgreementDetailsCollection" - inheritance: - - "java.lang.Object" - - "com.microsoft.samples.BasePartnerComponent" - - "com.microsoft.samples.BasePartnerComponentString" - implements: - - "com.microsoft.samples.agreements.IAgreementDetailsCollection" - inheritedMembers: - - "com.microsoft.samples.BasePartnerComponent.testBase()" - - "com.microsoft.samples.BasePartnerComponentString.testInherited()" - - "java.lang.Object.clone()" - - "java.lang.Object.equals(java.lang.Object)" - - "java.lang.Object.finalize()" - - "java.lang.Object.getClass()" - - "java.lang.Object.hashCode()" - - "java.lang.Object.notify()" - - "java.lang.Object.notifyAll()" - - "java.lang.Object.toString()" - - "java.lang.Object.wait()" - - "java.lang.Object.wait(long)" - - "java.lang.Object.wait(long,int)" -- uid: "com.microsoft.samples.agreements.AgreementDetailsCollectionOperations.AgreementDetailsCollectionOperations(com.microsoft.samples.IPartner)" - id: "AgreementDetailsCollectionOperations(com.microsoft.samples.IPartner)" - parent: "com.microsoft.samples.agreements.AgreementDetailsCollectionOperations" - langs: - - "java" - name: "AgreementDetailsCollectionOperations(IPartner rootPartnerOperations)" - nameWithType: "AgreementDetailsCollectionOperations.AgreementDetailsCollectionOperations(IPartner rootPartnerOperations)" - fullName: "com.microsoft.samples.agreements.AgreementDetailsCollectionOperations.AgreementDetailsCollectionOperations(IPartner rootPartnerOperations)" - overload: "com.microsoft.samples.agreements.AgreementDetailsCollectionOperations.AgreementDetailsCollectionOperations*" - type: "Constructor" - package: "com.microsoft.samples.agreements" - summary: "Initializes a new instance of the AgreementDetailsCollectionOperations class." - syntax: - content: "public AgreementDetailsCollectionOperations(IPartner rootPartnerOperations)" - parameters: - - id: "rootPartnerOperations" - type: "com.microsoft.samples.IPartner" - description: "The root partner operations instance." -- uid: "com.microsoft.samples.agreements.AgreementDetailsCollectionOperations.get()" - id: "get()" - parent: "com.microsoft.samples.agreements.AgreementDetailsCollectionOperations" - langs: - - "java" - name: "get()" - nameWithType: "AgreementDetailsCollectionOperations.get()" - fullName: "com.microsoft.samples.agreements.AgreementDetailsCollectionOperations.get()" - overload: "com.microsoft.samples.agreements.AgreementDetailsCollectionOperations.get*" - type: "Method" - package: "com.microsoft.samples.agreements" - summary: "Retrieves the agreement details." - syntax: - content: "public ResourceCollection get()" - return: - type: "com.microsoft.samples.agreements.ResourceCollection" - description: "A list of agreement details." -references: -- uid: "com.microsoft.samples.IPartner" - name: "IPartner" - nameWithType: "IPartner" - fullName: "com.microsoft.samples.IPartner" -- uid: "com.microsoft.samples.agreements.AgreementDetailsCollectionOperations.AgreementDetailsCollectionOperations*" - name: "AgreementDetailsCollectionOperations" - nameWithType: "AgreementDetailsCollectionOperations.AgreementDetailsCollectionOperations" - fullName: "com.microsoft.samples.agreements.AgreementDetailsCollectionOperations.AgreementDetailsCollectionOperations" - package: "com.microsoft.samples.agreements" -- uid: "com.microsoft.samples.agreements.ResourceCollection" - spec.java: - - uid: "com.microsoft.samples.agreements.ResourceCollection" - name: "ResourceCollection" - fullName: "com.microsoft.samples.agreements.ResourceCollection" - - name: "<" - fullName: "<" - - uid: "com.microsoft.samples.agreements.AgreementMetaData" - name: "AgreementMetaData" - fullName: "com.microsoft.samples.agreements.AgreementMetaData" - - name: ">" - fullName: ">" -- uid: "com.microsoft.samples.agreements.AgreementDetailsCollectionOperations.get*" - name: "get" - nameWithType: "AgreementDetailsCollectionOperations.get" - fullName: "com.microsoft.samples.agreements.AgreementDetailsCollectionOperations.get" - package: "com.microsoft.samples.agreements" -- uid: "com.microsoft.samples.BasePartnerComponentString" - name: "BasePartnerComponentString" - nameWithType: "BasePartnerComponentString" - fullName: "com.microsoft.samples.BasePartnerComponentString" -- uid: "com.microsoft.samples.agreements.IAgreementDetailsCollection" - name: "IAgreementDetailsCollection" - nameWithType: "IAgreementDetailsCollection" - fullName: "com.microsoft.samples.agreements.IAgreementDetailsCollection" -- uid: "java.lang.Object.notify()" - name: "Object.notify()" - nameWithType: "Object.notify()" - fullName: "java.lang.Object.notify()" -- uid: "java.lang.Object.wait()" - name: "Object.wait()" - nameWithType: "Object.wait()" - fullName: "java.lang.Object.wait()" -- uid: "java.lang.Object.finalize()" - name: "Object.finalize()" - nameWithType: "Object.finalize()" - fullName: "java.lang.Object.finalize()" -- uid: "java.lang.Object.notifyAll()" - name: "Object.notifyAll()" - nameWithType: "Object.notifyAll()" - fullName: "java.lang.Object.notifyAll()" -- uid: "java.lang.Object.clone()" - name: "Object.clone()" - nameWithType: "Object.clone()" - fullName: "java.lang.Object.clone()" -- uid: "com.microsoft.samples.BasePartnerComponent.testBase()" - name: "BasePartnerComponent.testBase()" - nameWithType: "BasePartnerComponent.testBase()" - fullName: "com.microsoft.samples.BasePartnerComponent.testBase()" -- uid: "java.lang.Object.equals(java.lang.Object)" - name: "Object.equals(Object)" - nameWithType: "Object.equals(Object)" - fullName: "java.lang.Object.equals(java.lang.Object)" -- uid: "java.lang.Object.toString()" - name: "Object.toString()" - nameWithType: "Object.toString()" - fullName: "java.lang.Object.toString()" -- uid: "java.lang.Object.getClass()" - name: "Object.getClass()" - nameWithType: "Object.getClass()" - fullName: "java.lang.Object.getClass()" -- uid: "java.lang.Object.wait(long)" - name: "Object.wait(long)" - nameWithType: "Object.wait(long)" - fullName: "java.lang.Object.wait(long)" -- uid: "java.lang.Object.hashCode()" - name: "Object.hashCode()" - nameWithType: "Object.hashCode()" - fullName: "java.lang.Object.hashCode()" -- uid: "java.lang.Object.wait(long,int)" - name: "Object.wait(long,int)" - nameWithType: "Object.wait(long,int)" - fullName: "java.lang.Object.wait(long,int)" -- uid: "com.microsoft.samples.BasePartnerComponentString.testInherited()" - name: "BasePartnerComponentString.testInherited()" - nameWithType: "BasePartnerComponentString.testInherited()" - fullName: "com.microsoft.samples.BasePartnerComponentString.testInherited()" -- uid: "com.microsoft.samples.agreements.ResourceCollection" - name: "ResourceCollection" - nameWithType: "ResourceCollection" - fullName: "com.microsoft.samples.agreements.ResourceCollection" -- uid: "com.microsoft.samples.agreements.AgreementMetaData" - name: "AgreementMetaData" - nameWithType: "AgreementMetaData" - fullName: "com.microsoft.samples.agreements.AgreementMetaData" +### YamlMime:JavaType +uid: "com.microsoft.samples.agreements.AgreementDetailsCollectionOperations" +fullName: "com.microsoft.samples.agreements.AgreementDetailsCollectionOperations" +name: "AgreementDetailsCollectionOperations" +nameWithType: "AgreementDetailsCollectionOperations" +summary: "Agreement details collection operations implementation class." +inheritances: +- "" +- "" +- "" +inheritedMembers: +- "com.microsoft.samples.BasePartnerComponent.testBase()" +- "com.microsoft.samples.BasePartnerComponentString.testInherited()" +- "java.lang.Object.clone()" +- "java.lang.Object.equals(java.lang.Object)" +- "java.lang.Object.finalize()" +- "java.lang.Object.getClass()" +- "java.lang.Object.hashCode()" +- "java.lang.Object.notify()" +- "java.lang.Object.notifyAll()" +- "java.lang.Object.toString()" +- "java.lang.Object.wait()" +- "java.lang.Object.wait(long)" +- "java.lang.Object.wait(long,int)" +syntax: "public class AgreementDetailsCollectionOperations extends BasePartnerComponentString implements IAgreementDetailsCollection" +constructors: +- "com.microsoft.samples.agreements.AgreementDetailsCollectionOperations.AgreementDetailsCollectionOperations(com.microsoft.samples.IPartner)" +methods: +- "com.microsoft.samples.agreements.AgreementDetailsCollectionOperations.get()" +- "com.microsoft.samples.agreements.AgreementDetailsCollectionOperations.get(java.lang.String)" +type: "class" +implements: +- "" +metadata: {} +package: "com.microsoft.samples.agreements" diff --git a/src/test/resources/expected-generated-files/com.microsoft.samples.agreements.AgreementMetaData.AgreementMetaData.yml b/src/test/resources/expected-generated-files/com.microsoft.samples.agreements.AgreementMetaData.AgreementMetaData.yml new file mode 100644 index 0000000..69d894b --- /dev/null +++ b/src/test/resources/expected-generated-files/com.microsoft.samples.agreements.AgreementMetaData.AgreementMetaData.yml @@ -0,0 +1,14 @@ +### YamlMime:JavaMember +uid: "com.microsoft.samples.agreements.AgreementMetaData.AgreementMetaData*" +fullName: "com.microsoft.samples.agreements.AgreementMetaData.AgreementMetaData" +name: "AgreementMetaData" +nameWithType: "AgreementMetaData.AgreementMetaData" +members: +- uid: "com.microsoft.samples.agreements.AgreementMetaData.AgreementMetaData()" + fullName: "com.microsoft.samples.agreements.AgreementMetaData.AgreementMetaData()" + name: "AgreementMetaData()" + nameWithType: "AgreementMetaData.AgreementMetaData()" + syntax: "public AgreementMetaData()" +type: "constructor" +metadata: {} +package: "com.microsoft.samples.agreements" diff --git a/src/test/resources/expected-generated-files/com.microsoft.samples.agreements.AgreementMetaData.getAgreementLink.yml b/src/test/resources/expected-generated-files/com.microsoft.samples.agreements.AgreementMetaData.getAgreementLink.yml new file mode 100644 index 0000000..a1b7858 --- /dev/null +++ b/src/test/resources/expected-generated-files/com.microsoft.samples.agreements.AgreementMetaData.getAgreementLink.yml @@ -0,0 +1,16 @@ +### YamlMime:JavaMember +uid: "com.microsoft.samples.agreements.AgreementMetaData.getAgreementLink*" +fullName: "com.microsoft.samples.agreements.AgreementMetaData.getAgreementLink" +name: "getAgreementLink" +nameWithType: "AgreementMetaData.getAgreementLink" +members: +- uid: "com.microsoft.samples.agreements.AgreementMetaData.getAgreementLink()" + fullName: "com.microsoft.samples.agreements.AgreementMetaData.getAgreementLink()" + name: "getAgreementLink()" + nameWithType: "AgreementMetaData.getAgreementLink()" + syntax: "public String getAgreementLink()" + returns: + type: "" +type: "method" +metadata: {} +package: "com.microsoft.samples.agreements" diff --git a/src/test/resources/expected-generated-files/com.microsoft.samples.agreements.AgreementMetaData.getTemplateId.yml b/src/test/resources/expected-generated-files/com.microsoft.samples.agreements.AgreementMetaData.getTemplateId.yml new file mode 100644 index 0000000..cc8eb39 --- /dev/null +++ b/src/test/resources/expected-generated-files/com.microsoft.samples.agreements.AgreementMetaData.getTemplateId.yml @@ -0,0 +1,16 @@ +### YamlMime:JavaMember +uid: "com.microsoft.samples.agreements.AgreementMetaData.getTemplateId*" +fullName: "com.microsoft.samples.agreements.AgreementMetaData.getTemplateId" +name: "getTemplateId" +nameWithType: "AgreementMetaData.getTemplateId" +members: +- uid: "com.microsoft.samples.agreements.AgreementMetaData.getTemplateId()" + fullName: "com.microsoft.samples.agreements.AgreementMetaData.getTemplateId()" + name: "getTemplateId()" + nameWithType: "AgreementMetaData.getTemplateId()" + syntax: "public String getTemplateId()" + returns: + type: "" +type: "method" +metadata: {} +package: "com.microsoft.samples.agreements" diff --git a/src/test/resources/expected-generated-files/com.microsoft.samples.agreements.AgreementMetaData.getVersionRank.yml b/src/test/resources/expected-generated-files/com.microsoft.samples.agreements.AgreementMetaData.getVersionRank.yml new file mode 100644 index 0000000..a446e03 --- /dev/null +++ b/src/test/resources/expected-generated-files/com.microsoft.samples.agreements.AgreementMetaData.getVersionRank.yml @@ -0,0 +1,16 @@ +### YamlMime:JavaMember +uid: "com.microsoft.samples.agreements.AgreementMetaData.getVersionRank*" +fullName: "com.microsoft.samples.agreements.AgreementMetaData.getVersionRank" +name: "getVersionRank" +nameWithType: "AgreementMetaData.getVersionRank" +members: +- uid: "com.microsoft.samples.agreements.AgreementMetaData.getVersionRank()" + fullName: "com.microsoft.samples.agreements.AgreementMetaData.getVersionRank()" + name: "getVersionRank()" + nameWithType: "AgreementMetaData.getVersionRank()" + syntax: "public int getVersionRank()" + returns: + type: "" +type: "method" +metadata: {} +package: "com.microsoft.samples.agreements" diff --git a/src/test/resources/expected-generated-files/com.microsoft.samples.agreements.AgreementMetaData.setAgreementLink.yml b/src/test/resources/expected-generated-files/com.microsoft.samples.agreements.AgreementMetaData.setAgreementLink.yml new file mode 100644 index 0000000..0fcee59 --- /dev/null +++ b/src/test/resources/expected-generated-files/com.microsoft.samples.agreements.AgreementMetaData.setAgreementLink.yml @@ -0,0 +1,17 @@ +### YamlMime:JavaMember +uid: "com.microsoft.samples.agreements.AgreementMetaData.setAgreementLink*" +fullName: "com.microsoft.samples.agreements.AgreementMetaData.setAgreementLink" +name: "setAgreementLink" +nameWithType: "AgreementMetaData.setAgreementLink" +members: +- uid: "com.microsoft.samples.agreements.AgreementMetaData.setAgreementLink(java.lang.String)" + fullName: "com.microsoft.samples.agreements.AgreementMetaData.setAgreementLink(String value)" + name: "setAgreementLink(String value)" + nameWithType: "AgreementMetaData.setAgreementLink(String value)" + parameters: + - name: "value" + type: "" + syntax: "public void setAgreementLink(String value)" +type: "method" +metadata: {} +package: "com.microsoft.samples.agreements" diff --git a/src/test/resources/expected-generated-files/com.microsoft.samples.agreements.AgreementMetaData.setTemplateId.yml b/src/test/resources/expected-generated-files/com.microsoft.samples.agreements.AgreementMetaData.setTemplateId.yml new file mode 100644 index 0000000..c3e340b --- /dev/null +++ b/src/test/resources/expected-generated-files/com.microsoft.samples.agreements.AgreementMetaData.setTemplateId.yml @@ -0,0 +1,17 @@ +### YamlMime:JavaMember +uid: "com.microsoft.samples.agreements.AgreementMetaData.setTemplateId*" +fullName: "com.microsoft.samples.agreements.AgreementMetaData.setTemplateId" +name: "setTemplateId" +nameWithType: "AgreementMetaData.setTemplateId" +members: +- uid: "com.microsoft.samples.agreements.AgreementMetaData.setTemplateId(java.lang.String)" + fullName: "com.microsoft.samples.agreements.AgreementMetaData.setTemplateId(String value)" + name: "setTemplateId(String value)" + nameWithType: "AgreementMetaData.setTemplateId(String value)" + parameters: + - name: "value" + type: "" + syntax: "public void setTemplateId(String value)" +type: "method" +metadata: {} +package: "com.microsoft.samples.agreements" diff --git a/src/test/resources/expected-generated-files/com.microsoft.samples.agreements.AgreementMetaData.setVersionRank.yml b/src/test/resources/expected-generated-files/com.microsoft.samples.agreements.AgreementMetaData.setVersionRank.yml new file mode 100644 index 0000000..45623ed --- /dev/null +++ b/src/test/resources/expected-generated-files/com.microsoft.samples.agreements.AgreementMetaData.setVersionRank.yml @@ -0,0 +1,17 @@ +### YamlMime:JavaMember +uid: "com.microsoft.samples.agreements.AgreementMetaData.setVersionRank*" +fullName: "com.microsoft.samples.agreements.AgreementMetaData.setVersionRank" +name: "setVersionRank" +nameWithType: "AgreementMetaData.setVersionRank" +members: +- uid: "com.microsoft.samples.agreements.AgreementMetaData.setVersionRank(int)" + fullName: "com.microsoft.samples.agreements.AgreementMetaData.setVersionRank(int value)" + name: "setVersionRank(int value)" + nameWithType: "AgreementMetaData.setVersionRank(int value)" + parameters: + - name: "value" + type: "" + syntax: "public void setVersionRank(int value)" +type: "method" +metadata: {} +package: "com.microsoft.samples.agreements" diff --git a/src/test/resources/expected-generated-files/com.microsoft.samples.agreements.AgreementMetaData.yml b/src/test/resources/expected-generated-files/com.microsoft.samples.agreements.AgreementMetaData.yml index 3cd58f7..48baf84 100644 --- a/src/test/resources/expected-generated-files/com.microsoft.samples.agreements.AgreementMetaData.yml +++ b/src/test/resources/expected-generated-files/com.microsoft.samples.agreements.AgreementMetaData.yml @@ -1,233 +1,33 @@ -### YamlMime:ManagedReference -items: -- uid: "com.microsoft.samples.agreements.AgreementMetaData" - id: "AgreementMetaData" - parent: "com.microsoft.samples.agreements" - children: - - "com.microsoft.samples.agreements.AgreementMetaData.AgreementMetaData()" - - "com.microsoft.samples.agreements.AgreementMetaData.getAgreementLink()" - - "com.microsoft.samples.agreements.AgreementMetaData.getTemplateId()" - - "com.microsoft.samples.agreements.AgreementMetaData.getVersionRank()" - - "com.microsoft.samples.agreements.AgreementMetaData.setAgreementLink(java.lang.String)" - - "com.microsoft.samples.agreements.AgreementMetaData.setTemplateId(java.lang.String)" - - "com.microsoft.samples.agreements.AgreementMetaData.setVersionRank(int)" - langs: - - "java" - name: "AgreementMetaData" - nameWithType: "AgreementMetaData" - fullName: "com.microsoft.samples.agreements.AgreementMetaData" - type: "Class" - package: "com.microsoft.samples.agreements" - summary: "The AgreementMetaData provides metadata about the agreement type that partner can provide confirmation of customer acceptance." - syntax: - content: "public class AgreementMetaData" - inheritance: - - "java.lang.Object" - inheritedMembers: - - "java.lang.Object.clone()" - - "java.lang.Object.equals(java.lang.Object)" - - "java.lang.Object.finalize()" - - "java.lang.Object.getClass()" - - "java.lang.Object.hashCode()" - - "java.lang.Object.notify()" - - "java.lang.Object.notifyAll()" - - "java.lang.Object.toString()" - - "java.lang.Object.wait()" - - "java.lang.Object.wait(long)" - - "java.lang.Object.wait(long,int)" -- uid: "com.microsoft.samples.agreements.AgreementMetaData.AgreementMetaData()" - id: "AgreementMetaData()" - parent: "com.microsoft.samples.agreements.AgreementMetaData" - langs: - - "java" - name: "AgreementMetaData()" - nameWithType: "AgreementMetaData.AgreementMetaData()" - fullName: "com.microsoft.samples.agreements.AgreementMetaData.AgreementMetaData()" - overload: "com.microsoft.samples.agreements.AgreementMetaData.AgreementMetaData*" - type: "Constructor" - package: "com.microsoft.samples.agreements" - syntax: - content: "public AgreementMetaData()" -- uid: "com.microsoft.samples.agreements.AgreementMetaData.getAgreementLink()" - id: "getAgreementLink()" - parent: "com.microsoft.samples.agreements.AgreementMetaData" - langs: - - "java" - name: "getAgreementLink()" - nameWithType: "AgreementMetaData.getAgreementLink()" - fullName: "com.microsoft.samples.agreements.AgreementMetaData.getAgreementLink()" - overload: "com.microsoft.samples.agreements.AgreementMetaData.getAgreementLink*" - type: "Method" - package: "com.microsoft.samples.agreements" - syntax: - content: "public String getAgreementLink()" - return: - type: "java.lang.String" -- uid: "com.microsoft.samples.agreements.AgreementMetaData.getTemplateId()" - id: "getTemplateId()" - parent: "com.microsoft.samples.agreements.AgreementMetaData" - langs: - - "java" - name: "getTemplateId()" - nameWithType: "AgreementMetaData.getTemplateId()" - fullName: "com.microsoft.samples.agreements.AgreementMetaData.getTemplateId()" - overload: "com.microsoft.samples.agreements.AgreementMetaData.getTemplateId*" - type: "Method" - package: "com.microsoft.samples.agreements" - syntax: - content: "public String getTemplateId()" - return: - type: "java.lang.String" -- uid: "com.microsoft.samples.agreements.AgreementMetaData.getVersionRank()" - id: "getVersionRank()" - parent: "com.microsoft.samples.agreements.AgreementMetaData" - langs: - - "java" - name: "getVersionRank()" - nameWithType: "AgreementMetaData.getVersionRank()" - fullName: "com.microsoft.samples.agreements.AgreementMetaData.getVersionRank()" - overload: "com.microsoft.samples.agreements.AgreementMetaData.getVersionRank*" - type: "Method" - package: "com.microsoft.samples.agreements" - syntax: - content: "public int getVersionRank()" - return: - type: "int" -- uid: "com.microsoft.samples.agreements.AgreementMetaData.setAgreementLink(java.lang.String)" - id: "setAgreementLink(java.lang.String)" - parent: "com.microsoft.samples.agreements.AgreementMetaData" - langs: - - "java" - name: "setAgreementLink(String value)" - nameWithType: "AgreementMetaData.setAgreementLink(String value)" - fullName: "com.microsoft.samples.agreements.AgreementMetaData.setAgreementLink(String value)" - overload: "com.microsoft.samples.agreements.AgreementMetaData.setAgreementLink*" - type: "Method" - package: "com.microsoft.samples.agreements" - syntax: - content: "public void setAgreementLink(String value)" - parameters: - - id: "value" - type: "java.lang.String" -- uid: "com.microsoft.samples.agreements.AgreementMetaData.setTemplateId(java.lang.String)" - id: "setTemplateId(java.lang.String)" - parent: "com.microsoft.samples.agreements.AgreementMetaData" - langs: - - "java" - name: "setTemplateId(String value)" - nameWithType: "AgreementMetaData.setTemplateId(String value)" - fullName: "com.microsoft.samples.agreements.AgreementMetaData.setTemplateId(String value)" - overload: "com.microsoft.samples.agreements.AgreementMetaData.setTemplateId*" - type: "Method" - package: "com.microsoft.samples.agreements" - syntax: - content: "public void setTemplateId(String value)" - parameters: - - id: "value" - type: "java.lang.String" -- uid: "com.microsoft.samples.agreements.AgreementMetaData.setVersionRank(int)" - id: "setVersionRank(int)" - parent: "com.microsoft.samples.agreements.AgreementMetaData" - langs: - - "java" - name: "setVersionRank(int value)" - nameWithType: "AgreementMetaData.setVersionRank(int value)" - fullName: "com.microsoft.samples.agreements.AgreementMetaData.setVersionRank(int value)" - overload: "com.microsoft.samples.agreements.AgreementMetaData.setVersionRank*" - type: "Method" - package: "com.microsoft.samples.agreements" - syntax: - content: "public void setVersionRank(int value)" - parameters: - - id: "value" - type: "int" -references: -- uid: "com.microsoft.samples.agreements.AgreementMetaData.AgreementMetaData*" - name: "AgreementMetaData" - nameWithType: "AgreementMetaData.AgreementMetaData" - fullName: "com.microsoft.samples.agreements.AgreementMetaData.AgreementMetaData" - package: "com.microsoft.samples.agreements" -- uid: "java.lang.String" - spec.java: - - uid: "java.lang.String" - name: "String" - fullName: "java.lang.String" -- uid: "com.microsoft.samples.agreements.AgreementMetaData.getTemplateId*" - name: "getTemplateId" - nameWithType: "AgreementMetaData.getTemplateId" - fullName: "com.microsoft.samples.agreements.AgreementMetaData.getTemplateId" - package: "com.microsoft.samples.agreements" -- uid: "com.microsoft.samples.agreements.AgreementMetaData.setTemplateId*" - name: "setTemplateId" - nameWithType: "AgreementMetaData.setTemplateId" - fullName: "com.microsoft.samples.agreements.AgreementMetaData.setTemplateId" - package: "com.microsoft.samples.agreements" -- uid: "com.microsoft.samples.agreements.AgreementMetaData.getAgreementLink*" - name: "getAgreementLink" - nameWithType: "AgreementMetaData.getAgreementLink" - fullName: "com.microsoft.samples.agreements.AgreementMetaData.getAgreementLink" - package: "com.microsoft.samples.agreements" -- uid: "com.microsoft.samples.agreements.AgreementMetaData.setAgreementLink*" - name: "setAgreementLink" - nameWithType: "AgreementMetaData.setAgreementLink" - fullName: "com.microsoft.samples.agreements.AgreementMetaData.setAgreementLink" - package: "com.microsoft.samples.agreements" -- uid: "int" - spec.java: - - uid: "int" - name: "int" - fullName: "int" -- uid: "com.microsoft.samples.agreements.AgreementMetaData.getVersionRank*" - name: "getVersionRank" - nameWithType: "AgreementMetaData.getVersionRank" - fullName: "com.microsoft.samples.agreements.AgreementMetaData.getVersionRank" - package: "com.microsoft.samples.agreements" -- uid: "com.microsoft.samples.agreements.AgreementMetaData.setVersionRank*" - name: "setVersionRank" - nameWithType: "AgreementMetaData.setVersionRank" - fullName: "com.microsoft.samples.agreements.AgreementMetaData.setVersionRank" - package: "com.microsoft.samples.agreements" -- uid: "java.lang.Object.notify()" - name: "Object.notify()" - nameWithType: "Object.notify()" - fullName: "java.lang.Object.notify()" -- uid: "java.lang.Object.wait()" - name: "Object.wait()" - nameWithType: "Object.wait()" - fullName: "java.lang.Object.wait()" -- uid: "java.lang.Object.finalize()" - name: "Object.finalize()" - nameWithType: "Object.finalize()" - fullName: "java.lang.Object.finalize()" -- uid: "java.lang.Object.clone()" - name: "Object.clone()" - nameWithType: "Object.clone()" - fullName: "java.lang.Object.clone()" -- uid: "java.lang.Object.notifyAll()" - name: "Object.notifyAll()" - nameWithType: "Object.notifyAll()" - fullName: "java.lang.Object.notifyAll()" -- uid: "java.lang.Object.equals(java.lang.Object)" - name: "Object.equals(Object)" - nameWithType: "Object.equals(Object)" - fullName: "java.lang.Object.equals(java.lang.Object)" -- uid: "java.lang.Object.getClass()" - name: "Object.getClass()" - nameWithType: "Object.getClass()" - fullName: "java.lang.Object.getClass()" -- uid: "java.lang.Object.wait(long)" - name: "Object.wait(long)" - nameWithType: "Object.wait(long)" - fullName: "java.lang.Object.wait(long)" -- uid: "java.lang.Object.hashCode()" - name: "Object.hashCode()" - nameWithType: "Object.hashCode()" - fullName: "java.lang.Object.hashCode()" -- uid: "java.lang.Object.wait(long,int)" - name: "Object.wait(long,int)" - nameWithType: "Object.wait(long,int)" - fullName: "java.lang.Object.wait(long,int)" -- uid: "java.lang.Object.toString()" - name: "Object.toString()" - nameWithType: "Object.toString()" - fullName: "java.lang.Object.toString()" +### YamlMime:JavaType +uid: "com.microsoft.samples.agreements.AgreementMetaData" +fullName: "com.microsoft.samples.agreements.AgreementMetaData" +name: "AgreementMetaData" +nameWithType: "AgreementMetaData" +summary: "The AgreementMetaData provides metadata about the agreement type that partner can provide confirmation of customer acceptance." +inheritances: +- "" +inheritedMembers: +- "java.lang.Object.clone()" +- "java.lang.Object.equals(java.lang.Object)" +- "java.lang.Object.finalize()" +- "java.lang.Object.getClass()" +- "java.lang.Object.hashCode()" +- "java.lang.Object.notify()" +- "java.lang.Object.notifyAll()" +- "java.lang.Object.toString()" +- "java.lang.Object.wait()" +- "java.lang.Object.wait(long)" +- "java.lang.Object.wait(long,int)" +syntax: "public class AgreementMetaData" +constructors: +- "com.microsoft.samples.agreements.AgreementMetaData.AgreementMetaData()" +methods: +- "com.microsoft.samples.agreements.AgreementMetaData.getAgreementLink()" +- "com.microsoft.samples.agreements.AgreementMetaData.getTemplateId()" +- "com.microsoft.samples.agreements.AgreementMetaData.getVersionRank()" +- "com.microsoft.samples.agreements.AgreementMetaData.setAgreementLink(java.lang.String)" +- "com.microsoft.samples.agreements.AgreementMetaData.setTemplateId(java.lang.String)" +- "com.microsoft.samples.agreements.AgreementMetaData.setVersionRank(int)" +type: "class" +metadata: {} +package: "com.microsoft.samples.agreements" diff --git a/src/test/resources/expected-generated-files/com.microsoft.samples.agreements.IAgreementDetailsCollection.get.yml b/src/test/resources/expected-generated-files/com.microsoft.samples.agreements.IAgreementDetailsCollection.get.yml new file mode 100644 index 0000000..d357f8d --- /dev/null +++ b/src/test/resources/expected-generated-files/com.microsoft.samples.agreements.IAgreementDetailsCollection.get.yml @@ -0,0 +1,28 @@ +### YamlMime:JavaMember +uid: "com.microsoft.samples.agreements.IAgreementDetailsCollection.get*" +fullName: "com.microsoft.samples.agreements.IAgreementDetailsCollection.get" +name: "get" +nameWithType: "IAgreementDetailsCollection.get" +members: +- uid: "com.microsoft.samples.agreements.IAgreementDetailsCollection.get()" + fullName: "com.microsoft.samples.agreements.IAgreementDetailsCollection.get()" + name: "get()" + nameWithType: "IAgreementDetailsCollection.get()" + summary: "Retrieves all current agreement metadata." + syntax: "public abstract ResourceCollection get()" + returns: + description: "The current agreement metadata." + type: "<>" +- uid: "com.microsoft.samples.agreements.IAgreementDetailsCollection.get(java.lang.String)" + fullName: "com.microsoft.samples.agreements.IAgreementDetailsCollection.get(String id)" + name: "get(String id)" + nameWithType: "IAgreementDetailsCollection.get(String id)" + parameters: + - name: "id" + type: "" + syntax: "public abstract ResourceCollection get(String id)" + returns: + type: "<>" +type: "method" +metadata: {} +package: "com.microsoft.samples.agreements" diff --git a/src/test/resources/expected-generated-files/com.microsoft.samples.agreements.IAgreementDetailsCollection.yml b/src/test/resources/expected-generated-files/com.microsoft.samples.agreements.IAgreementDetailsCollection.yml index 070de6f..48fffeb 100644 --- a/src/test/resources/expected-generated-files/com.microsoft.samples.agreements.IAgreementDetailsCollection.yml +++ b/src/test/resources/expected-generated-files/com.microsoft.samples.agreements.IAgreementDetailsCollection.yml @@ -1,60 +1,13 @@ -### YamlMime:ManagedReference -items: -- uid: "com.microsoft.samples.agreements.IAgreementDetailsCollection" - id: "IAgreementDetailsCollection" - parent: "com.microsoft.samples.agreements" - children: - - "com.microsoft.samples.agreements.IAgreementDetailsCollection.get()" - langs: - - "java" - name: "IAgreementDetailsCollection" - nameWithType: "IAgreementDetailsCollection" - fullName: "com.microsoft.samples.agreements.IAgreementDetailsCollection" - type: "Interface" - package: "com.microsoft.samples.agreements" - summary: "Encapsulates the operations on the agreement metadata collection." - syntax: - content: "public interface IAgreementDetailsCollection" -- uid: "com.microsoft.samples.agreements.IAgreementDetailsCollection.get()" - id: "get()" - parent: "com.microsoft.samples.agreements.IAgreementDetailsCollection" - langs: - - "java" - name: "get()" - nameWithType: "IAgreementDetailsCollection.get()" - fullName: "com.microsoft.samples.agreements.IAgreementDetailsCollection.get()" - overload: "com.microsoft.samples.agreements.IAgreementDetailsCollection.get*" - type: "Method" - package: "com.microsoft.samples.agreements" - summary: "Retrieves all current agreement metadata." - syntax: - content: "public abstract ResourceCollection get()" - return: - type: "com.microsoft.samples.agreements.ResourceCollection" - description: "The current agreement metadata." -references: -- uid: "com.microsoft.samples.agreements.ResourceCollection" - spec.java: - - uid: "com.microsoft.samples.agreements.ResourceCollection" - name: "ResourceCollection" - fullName: "com.microsoft.samples.agreements.ResourceCollection" - - name: "<" - fullName: "<" - - uid: "com.microsoft.samples.agreements.AgreementMetaData" - name: "AgreementMetaData" - fullName: "com.microsoft.samples.agreements.AgreementMetaData" - - name: ">" - fullName: ">" -- uid: "com.microsoft.samples.agreements.IAgreementDetailsCollection.get*" - name: "get" - nameWithType: "IAgreementDetailsCollection.get" - fullName: "com.microsoft.samples.agreements.IAgreementDetailsCollection.get" - package: "com.microsoft.samples.agreements" -- uid: "com.microsoft.samples.agreements.ResourceCollection" - name: "ResourceCollection" - nameWithType: "ResourceCollection" - fullName: "com.microsoft.samples.agreements.ResourceCollection" -- uid: "com.microsoft.samples.agreements.AgreementMetaData" - name: "AgreementMetaData" - nameWithType: "AgreementMetaData" - fullName: "com.microsoft.samples.agreements.AgreementMetaData" +### YamlMime:JavaType +uid: "com.microsoft.samples.agreements.IAgreementDetailsCollection" +fullName: "com.microsoft.samples.agreements.IAgreementDetailsCollection" +name: "IAgreementDetailsCollection" +nameWithType: "IAgreementDetailsCollection" +summary: "Encapsulates the operations on the agreement metadata collection." +syntax: "public interface IAgreementDetailsCollection" +methods: +- "com.microsoft.samples.agreements.IAgreementDetailsCollection.get()" +- "com.microsoft.samples.agreements.IAgreementDetailsCollection.get(java.lang.String)" +type: "interface" +metadata: {} +package: "com.microsoft.samples.agreements" diff --git a/src/test/resources/expected-generated-files/com.microsoft.samples.agreements.ResourceCollection.ResourceCollection.yml b/src/test/resources/expected-generated-files/com.microsoft.samples.agreements.ResourceCollection.ResourceCollection.yml new file mode 100644 index 0000000..66e79f0 --- /dev/null +++ b/src/test/resources/expected-generated-files/com.microsoft.samples.agreements.ResourceCollection.ResourceCollection.yml @@ -0,0 +1,14 @@ +### YamlMime:JavaMember +uid: "com.microsoft.samples.agreements.ResourceCollection.ResourceCollection*" +fullName: "com.microsoft.samples.agreements.ResourceCollection.ResourceCollection" +name: "ResourceCollection" +nameWithType: "ResourceCollection.ResourceCollection" +members: +- uid: "com.microsoft.samples.agreements.ResourceCollection.ResourceCollection()" + fullName: "com.microsoft.samples.agreements.ResourceCollection.ResourceCollection()" + name: "ResourceCollection()" + nameWithType: "ResourceCollection.ResourceCollection()" + syntax: "public ResourceCollection()" +type: "constructor" +metadata: {} +package: "com.microsoft.samples.agreements" diff --git a/src/test/resources/expected-generated-files/com.microsoft.samples.agreements.ResourceCollection.yml b/src/test/resources/expected-generated-files/com.microsoft.samples.agreements.ResourceCollection.yml index 055ad47..6213203 100644 --- a/src/test/resources/expected-generated-files/com.microsoft.samples.agreements.ResourceCollection.yml +++ b/src/test/resources/expected-generated-files/com.microsoft.samples.agreements.ResourceCollection.yml @@ -1,100 +1,28 @@ -### YamlMime:ManagedReference -items: -- uid: "com.microsoft.samples.agreements.ResourceCollection" - id: "ResourceCollection" - parent: "com.microsoft.samples.agreements" - children: - - "com.microsoft.samples.agreements.ResourceCollection.ResourceCollection()" - langs: - - "java" - name: "ResourceCollection" - nameWithType: "ResourceCollection" - fullName: "com.microsoft.samples.agreements.ResourceCollection" - type: "Class" - package: "com.microsoft.samples.agreements" - summary: "Contains a collection of resources with JSON properties to represent the output Type of objects in collection" - syntax: - content: "public class ResourceCollection" - typeParameters: - - id: "TResource" - inheritance: - - "java.lang.Object" - inheritedMembers: - - "java.lang.Object.clone()" - - "java.lang.Object.equals(java.lang.Object)" - - "java.lang.Object.finalize()" - - "java.lang.Object.getClass()" - - "java.lang.Object.hashCode()" - - "java.lang.Object.notify()" - - "java.lang.Object.notifyAll()" - - "java.lang.Object.toString()" - - "java.lang.Object.wait()" - - "java.lang.Object.wait(long)" - - "java.lang.Object.wait(long,int)" -- uid: "com.microsoft.samples.agreements.ResourceCollection.ResourceCollection()" - id: "ResourceCollection()" - parent: "com.microsoft.samples.agreements.ResourceCollection" - langs: - - "java" - name: "ResourceCollection()" - nameWithType: "ResourceCollection.ResourceCollection()" - fullName: "com.microsoft.samples.agreements.ResourceCollection.ResourceCollection()" - overload: "com.microsoft.samples.agreements.ResourceCollection.ResourceCollection*" - type: "Constructor" - package: "com.microsoft.samples.agreements" - syntax: - content: "public ResourceCollection()" -references: -- uid: "com.microsoft.samples.agreements.ResourceCollection.ResourceCollection*" - name: "ResourceCollection" - nameWithType: "ResourceCollection.ResourceCollection" - fullName: "com.microsoft.samples.agreements.ResourceCollection.ResourceCollection" - package: "com.microsoft.samples.agreements" -- uid: "TResource" - name: "TResource" - nameWithType: "TResource" - fullName: "TResource" -- uid: "java.lang.Object.notify()" - name: "Object.notify()" - nameWithType: "Object.notify()" - fullName: "java.lang.Object.notify()" -- uid: "java.lang.Object.wait()" - name: "Object.wait()" - nameWithType: "Object.wait()" - fullName: "java.lang.Object.wait()" -- uid: "java.lang.Object.finalize()" - name: "Object.finalize()" - nameWithType: "Object.finalize()" - fullName: "java.lang.Object.finalize()" -- uid: "java.lang.Object.clone()" - name: "Object.clone()" - nameWithType: "Object.clone()" - fullName: "java.lang.Object.clone()" -- uid: "java.lang.Object.notifyAll()" - name: "Object.notifyAll()" - nameWithType: "Object.notifyAll()" - fullName: "java.lang.Object.notifyAll()" -- uid: "java.lang.Object.equals(java.lang.Object)" - name: "Object.equals(Object)" - nameWithType: "Object.equals(Object)" - fullName: "java.lang.Object.equals(java.lang.Object)" -- uid: "java.lang.Object.getClass()" - name: "Object.getClass()" - nameWithType: "Object.getClass()" - fullName: "java.lang.Object.getClass()" -- uid: "java.lang.Object.wait(long)" - name: "Object.wait(long)" - nameWithType: "Object.wait(long)" - fullName: "java.lang.Object.wait(long)" -- uid: "java.lang.Object.hashCode()" - name: "Object.hashCode()" - nameWithType: "Object.hashCode()" - fullName: "java.lang.Object.hashCode()" -- uid: "java.lang.Object.wait(long,int)" - name: "Object.wait(long,int)" - nameWithType: "Object.wait(long,int)" - fullName: "java.lang.Object.wait(long,int)" -- uid: "java.lang.Object.toString()" - name: "Object.toString()" - nameWithType: "Object.toString()" - fullName: "java.lang.Object.toString()" +### YamlMime:JavaType +uid: "com.microsoft.samples.agreements.ResourceCollection" +fullName: "com.microsoft.samples.agreements.ResourceCollection" +name: "ResourceCollection" +nameWithType: "ResourceCollection" +summary: "Contains a collection of resources with JSON properties to represent the output Type of objects in collection" +inheritances: +- "" +inheritedMembers: +- "java.lang.Object.clone()" +- "java.lang.Object.equals(java.lang.Object)" +- "java.lang.Object.finalize()" +- "java.lang.Object.getClass()" +- "java.lang.Object.hashCode()" +- "java.lang.Object.notify()" +- "java.lang.Object.notifyAll()" +- "java.lang.Object.toString()" +- "java.lang.Object.wait()" +- "java.lang.Object.wait(long)" +- "java.lang.Object.wait(long,int)" +syntax: "public class ResourceCollection" +constructors: +- "com.microsoft.samples.agreements.ResourceCollection.ResourceCollection()" +type: "class" +typeParameters: +- name: "TResource" +metadata: {} +package: "com.microsoft.samples.agreements" diff --git a/src/test/resources/expected-generated-files/com.microsoft.samples.agreements.yml b/src/test/resources/expected-generated-files/com.microsoft.samples.agreements.yml index ba14b3a..bd4c40b 100644 --- a/src/test/resources/expected-generated-files/com.microsoft.samples.agreements.yml +++ b/src/test/resources/expected-generated-files/com.microsoft.samples.agreements.yml @@ -1,34 +1,12 @@ -### YamlMime:ManagedReference -items: -- uid: "com.microsoft.samples.agreements" - id: "agreements" - children: - - "com.microsoft.samples.agreements.AgreementDetailsCollectionOperations" - - "com.microsoft.samples.agreements.AgreementMetaData" - - "com.microsoft.samples.agreements.IAgreementDetailsCollection" - - "com.microsoft.samples.agreements.ResourceCollection" - langs: - - "java" - name: "com.microsoft.samples.agreements" - nameWithType: "com.microsoft.samples.agreements" - fullName: "com.microsoft.samples.agreements" - type: "Namespace" - syntax: - content: "package com.microsoft.samples.agreements" -references: -- uid: "com.microsoft.samples.agreements.AgreementDetailsCollectionOperations" - name: "AgreementDetailsCollectionOperations" - nameWithType: "AgreementDetailsCollectionOperations" - fullName: "com.microsoft.samples.agreements.AgreementDetailsCollectionOperations" -- uid: "com.microsoft.samples.agreements.AgreementMetaData" - name: "AgreementMetaData" - nameWithType: "AgreementMetaData" - fullName: "com.microsoft.samples.agreements.AgreementMetaData" -- uid: "com.microsoft.samples.agreements.IAgreementDetailsCollection" - name: "IAgreementDetailsCollection" - nameWithType: "IAgreementDetailsCollection" - fullName: "com.microsoft.samples.agreements.IAgreementDetailsCollection" -- uid: "com.microsoft.samples.agreements.ResourceCollection" - name: "ResourceCollection" - nameWithType: "ResourceCollection" - fullName: "com.microsoft.samples.agreements.ResourceCollection" +### YamlMime:JavaPackage +uid: "com.microsoft.samples.agreements" +fullName: "com.microsoft.samples.agreements" +name: "com.microsoft.samples.agreements" +classes: +- "com.microsoft.samples.agreements.AgreementDetailsCollectionOperations" +- "com.microsoft.samples.agreements.AgreementMetaData" +- "com.microsoft.samples.agreements.ResourceCollection" +interfaces: +- "com.microsoft.samples.agreements.IAgreementDetailsCollection" +metadata: {} +package: "com.microsoft.samples.agreements" diff --git a/src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.Animal.Animal.yml b/src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.Animal.Animal.yml new file mode 100644 index 0000000..30c077f --- /dev/null +++ b/src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.Animal.Animal.yml @@ -0,0 +1,14 @@ +### YamlMime:JavaMember +uid: "com.microsoft.samples.commentinheritance.Animal.Animal*" +fullName: "com.microsoft.samples.commentinheritance.Animal.Animal" +name: "Animal" +nameWithType: "Animal.Animal" +members: +- uid: "com.microsoft.samples.commentinheritance.Animal.Animal()" + fullName: "com.microsoft.samples.commentinheritance.Animal.Animal()" + name: "Animal()" + nameWithType: "Animal.Animal()" + syntax: "public Animal()" +type: "constructor" +metadata: {} +package: "com.microsoft.samples.commentinheritance" diff --git a/src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.Animal.breathe.yml b/src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.Animal.breathe.yml new file mode 100644 index 0000000..df20fc1 --- /dev/null +++ b/src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.Animal.breathe.yml @@ -0,0 +1,15 @@ +### YamlMime:JavaMember +uid: "com.microsoft.samples.commentinheritance.Animal.breathe*" +fullName: "com.microsoft.samples.commentinheritance.Animal.breathe" +name: "breathe" +nameWithType: "Animal.breathe" +members: +- uid: "com.microsoft.samples.commentinheritance.Animal.breathe()" + fullName: "com.microsoft.samples.commentinheritance.Animal.breathe()" + name: "breathe()" + nameWithType: "Animal.breathe()" + summary: "Breathe." + syntax: "public void breathe()" +type: "method" +metadata: {} +package: "com.microsoft.samples.commentinheritance" diff --git a/src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.Animal.feed.yml b/src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.Animal.feed.yml new file mode 100644 index 0000000..043ebc7 --- /dev/null +++ b/src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.Animal.feed.yml @@ -0,0 +1,15 @@ +### YamlMime:JavaMember +uid: "com.microsoft.samples.commentinheritance.Animal.feed*" +fullName: "com.microsoft.samples.commentinheritance.Animal.feed" +name: "feed" +nameWithType: "Animal.feed" +members: +- uid: "com.microsoft.samples.commentinheritance.Animal.feed()" + fullName: "com.microsoft.samples.commentinheritance.Animal.feed()" + name: "feed()" + nameWithType: "Animal.feed()" + summary: "Feed offspring." + syntax: "public abstract void feed()" +type: "method" +metadata: {} +package: "com.microsoft.samples.commentinheritance" diff --git a/src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.Animal.getKind.yml b/src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.Animal.getKind.yml new file mode 100644 index 0000000..89f252c --- /dev/null +++ b/src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.Animal.getKind.yml @@ -0,0 +1,17 @@ +### YamlMime:JavaMember +uid: "com.microsoft.samples.commentinheritance.Animal.getKind*" +fullName: "com.microsoft.samples.commentinheritance.Animal.getKind" +name: "getKind" +nameWithType: "Animal.getKind" +members: +- uid: "com.microsoft.samples.commentinheritance.Animal.getKind()" + fullName: "com.microsoft.samples.commentinheritance.Animal.getKind()" + name: "getKind()" + nameWithType: "Animal.getKind()" + summary: "Get kind from Organism. Get kind from Animal." + syntax: "public abstract String getKind()" + returns: + type: "" +type: "method" +metadata: {} +package: "com.microsoft.samples.commentinheritance" diff --git a/src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.Animal.verballyCommunicate.yml b/src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.Animal.verballyCommunicate.yml new file mode 100644 index 0000000..8c9a83a --- /dev/null +++ b/src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.Animal.verballyCommunicate.yml @@ -0,0 +1,15 @@ +### YamlMime:JavaMember +uid: "com.microsoft.samples.commentinheritance.Animal.verballyCommunicate*" +fullName: "com.microsoft.samples.commentinheritance.Animal.verballyCommunicate" +name: "verballyCommunicate" +nameWithType: "Animal.verballyCommunicate" +members: +- uid: "com.microsoft.samples.commentinheritance.Animal.verballyCommunicate()" + fullName: "com.microsoft.samples.commentinheritance.Animal.verballyCommunicate()" + name: "verballyCommunicate()" + nameWithType: "Animal.verballyCommunicate()" + summary: "Communicate verbally." + syntax: "public abstract void verballyCommunicate()" +type: "method" +metadata: {} +package: "com.microsoft.samples.commentinheritance" diff --git a/src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.Animal.yml b/src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.Animal.yml index 61424db..08d0c0f 100644 --- a/src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.Animal.yml +++ b/src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.Animal.yml @@ -1,187 +1,33 @@ -### YamlMime:ManagedReference -items: -- uid: "com.microsoft.samples.commentinheritance.Animal" - id: "Animal" - parent: "com.microsoft.samples.commentinheritance" - children: - - "com.microsoft.samples.commentinheritance.Animal.Animal()" - - "com.microsoft.samples.commentinheritance.Animal.breathe()" - - "com.microsoft.samples.commentinheritance.Animal.feed()" - - "com.microsoft.samples.commentinheritance.Animal.getKind()" - - "com.microsoft.samples.commentinheritance.Animal.verballyCommunicate()" - langs: - - "java" - name: "Animal" - nameWithType: "Animal" - fullName: "com.microsoft.samples.commentinheritance.Animal" - type: "Class" - package: "com.microsoft.samples.commentinheritance" - summary: "Animal." - syntax: - content: "public abstract class Animal implements Organism" - inheritance: - - "java.lang.Object" - implements: - - "com.microsoft.samples.commentinheritance.Organism" - inheritedMembers: - - "java.lang.Object.clone()" - - "java.lang.Object.equals(java.lang.Object)" - - "java.lang.Object.finalize()" - - "java.lang.Object.getClass()" - - "java.lang.Object.hashCode()" - - "java.lang.Object.notify()" - - "java.lang.Object.notifyAll()" - - "java.lang.Object.toString()" - - "java.lang.Object.wait()" - - "java.lang.Object.wait(long)" - - "java.lang.Object.wait(long,int)" -- uid: "com.microsoft.samples.commentinheritance.Animal.Animal()" - id: "Animal()" - parent: "com.microsoft.samples.commentinheritance.Animal" - langs: - - "java" - name: "Animal()" - nameWithType: "Animal.Animal()" - fullName: "com.microsoft.samples.commentinheritance.Animal.Animal()" - overload: "com.microsoft.samples.commentinheritance.Animal.Animal*" - type: "Constructor" - package: "com.microsoft.samples.commentinheritance" - syntax: - content: "public Animal()" -- uid: "com.microsoft.samples.commentinheritance.Animal.breathe()" - id: "breathe()" - parent: "com.microsoft.samples.commentinheritance.Animal" - langs: - - "java" - name: "breathe()" - nameWithType: "Animal.breathe()" - fullName: "com.microsoft.samples.commentinheritance.Animal.breathe()" - overload: "com.microsoft.samples.commentinheritance.Animal.breathe*" - type: "Method" - package: "com.microsoft.samples.commentinheritance" - summary: "Breathe." - syntax: - content: "public void breathe()" -- uid: "com.microsoft.samples.commentinheritance.Animal.feed()" - id: "feed()" - parent: "com.microsoft.samples.commentinheritance.Animal" - langs: - - "java" - name: "feed()" - nameWithType: "Animal.feed()" - fullName: "com.microsoft.samples.commentinheritance.Animal.feed()" - overload: "com.microsoft.samples.commentinheritance.Animal.feed*" - type: "Method" - package: "com.microsoft.samples.commentinheritance" - summary: "Feed offspring." - syntax: - content: "public abstract void feed()" -- uid: "com.microsoft.samples.commentinheritance.Animal.getKind()" - id: "getKind()" - parent: "com.microsoft.samples.commentinheritance.Animal" - langs: - - "java" - name: "getKind()" - nameWithType: "Animal.getKind()" - fullName: "com.microsoft.samples.commentinheritance.Animal.getKind()" - overload: "com.microsoft.samples.commentinheritance.Animal.getKind*" - type: "Method" - package: "com.microsoft.samples.commentinheritance" - summary: "Get kind from Organism. Get kind from Animal." - syntax: - content: "public abstract String getKind()" - return: - type: "java.lang.String" -- uid: "com.microsoft.samples.commentinheritance.Animal.verballyCommunicate()" - id: "verballyCommunicate()" - parent: "com.microsoft.samples.commentinheritance.Animal" - langs: - - "java" - name: "verballyCommunicate()" - nameWithType: "Animal.verballyCommunicate()" - fullName: "com.microsoft.samples.commentinheritance.Animal.verballyCommunicate()" - overload: "com.microsoft.samples.commentinheritance.Animal.verballyCommunicate*" - type: "Method" - package: "com.microsoft.samples.commentinheritance" - summary: "Communicate verbally." - syntax: - content: "public abstract void verballyCommunicate()" -references: -- uid: "com.microsoft.samples.commentinheritance.Animal.Animal*" - name: "Animal" - nameWithType: "Animal.Animal" - fullName: "com.microsoft.samples.commentinheritance.Animal.Animal" - package: "com.microsoft.samples.commentinheritance" -- uid: "com.microsoft.samples.commentinheritance.Animal.breathe*" - name: "breathe" - nameWithType: "Animal.breathe" - fullName: "com.microsoft.samples.commentinheritance.Animal.breathe" - package: "com.microsoft.samples.commentinheritance" -- uid: "com.microsoft.samples.commentinheritance.Animal.verballyCommunicate*" - name: "verballyCommunicate" - nameWithType: "Animal.verballyCommunicate" - fullName: "com.microsoft.samples.commentinheritance.Animal.verballyCommunicate" - package: "com.microsoft.samples.commentinheritance" -- uid: "com.microsoft.samples.commentinheritance.Animal.feed*" - name: "feed" - nameWithType: "Animal.feed" - fullName: "com.microsoft.samples.commentinheritance.Animal.feed" - package: "com.microsoft.samples.commentinheritance" -- uid: "java.lang.String" - spec.java: - - uid: "java.lang.String" - name: "String" - fullName: "java.lang.String" -- uid: "com.microsoft.samples.commentinheritance.Animal.getKind*" - name: "getKind" - nameWithType: "Animal.getKind" - fullName: "com.microsoft.samples.commentinheritance.Animal.getKind" - package: "com.microsoft.samples.commentinheritance" -- uid: "com.microsoft.samples.commentinheritance.Organism" - name: "Organism" - nameWithType: "Organism" - fullName: "com.microsoft.samples.commentinheritance.Organism" -- uid: "java.lang.Object.notify()" - name: "Object.notify()" - nameWithType: "Object.notify()" - fullName: "java.lang.Object.notify()" -- uid: "java.lang.Object.wait()" - name: "Object.wait()" - nameWithType: "Object.wait()" - fullName: "java.lang.Object.wait()" -- uid: "java.lang.Object.finalize()" - name: "Object.finalize()" - nameWithType: "Object.finalize()" - fullName: "java.lang.Object.finalize()" -- uid: "java.lang.Object.clone()" - name: "Object.clone()" - nameWithType: "Object.clone()" - fullName: "java.lang.Object.clone()" -- uid: "java.lang.Object.notifyAll()" - name: "Object.notifyAll()" - nameWithType: "Object.notifyAll()" - fullName: "java.lang.Object.notifyAll()" -- uid: "java.lang.Object.equals(java.lang.Object)" - name: "Object.equals(Object)" - nameWithType: "Object.equals(Object)" - fullName: "java.lang.Object.equals(java.lang.Object)" -- uid: "java.lang.Object.getClass()" - name: "Object.getClass()" - nameWithType: "Object.getClass()" - fullName: "java.lang.Object.getClass()" -- uid: "java.lang.Object.wait(long)" - name: "Object.wait(long)" - nameWithType: "Object.wait(long)" - fullName: "java.lang.Object.wait(long)" -- uid: "java.lang.Object.hashCode()" - name: "Object.hashCode()" - nameWithType: "Object.hashCode()" - fullName: "java.lang.Object.hashCode()" -- uid: "java.lang.Object.wait(long,int)" - name: "Object.wait(long,int)" - nameWithType: "Object.wait(long,int)" - fullName: "java.lang.Object.wait(long,int)" -- uid: "java.lang.Object.toString()" - name: "Object.toString()" - nameWithType: "Object.toString()" - fullName: "java.lang.Object.toString()" +### YamlMime:JavaType +uid: "com.microsoft.samples.commentinheritance.Animal" +fullName: "com.microsoft.samples.commentinheritance.Animal" +name: "Animal" +nameWithType: "Animal" +summary: "Animal." +inheritances: +- "" +inheritedMembers: +- "java.lang.Object.clone()" +- "java.lang.Object.equals(java.lang.Object)" +- "java.lang.Object.finalize()" +- "java.lang.Object.getClass()" +- "java.lang.Object.hashCode()" +- "java.lang.Object.notify()" +- "java.lang.Object.notifyAll()" +- "java.lang.Object.toString()" +- "java.lang.Object.wait()" +- "java.lang.Object.wait(long)" +- "java.lang.Object.wait(long,int)" +syntax: "public abstract class Animal implements Organism" +constructors: +- "com.microsoft.samples.commentinheritance.Animal.Animal()" +methods: +- "com.microsoft.samples.commentinheritance.Animal.breathe()" +- "com.microsoft.samples.commentinheritance.Animal.feed()" +- "com.microsoft.samples.commentinheritance.Animal.getKind()" +- "com.microsoft.samples.commentinheritance.Animal.verballyCommunicate()" +type: "class" +implements: +- "" +metadata: {} +package: "com.microsoft.samples.commentinheritance" diff --git a/src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.Carnivorous.eat.yml b/src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.Carnivorous.eat.yml new file mode 100644 index 0000000..7131035 --- /dev/null +++ b/src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.Carnivorous.eat.yml @@ -0,0 +1,19 @@ +### YamlMime:JavaMember +uid: "com.microsoft.samples.commentinheritance.Carnivorous.eat*" +fullName: "com.microsoft.samples.commentinheritance.Carnivorous.eat" +name: "eat" +nameWithType: "Carnivorous.eat" +members: +- uid: "com.microsoft.samples.commentinheritance.Carnivorous.eat(com.microsoft.samples.commentinheritance.Animal)" + fullName: "com.microsoft.samples.commentinheritance.Carnivorous.eat(Animal animalBeingEaten)" + name: "eat(Animal animalBeingEaten)" + nameWithType: "Carnivorous.eat(Animal animalBeingEaten)" + summary: "Eat the provided animal." + parameters: + - description: "Animal that will be eaten." + name: "animalBeingEaten" + type: "" + syntax: "public abstract void eat(Animal animalBeingEaten)" +type: "method" +metadata: {} +package: "com.microsoft.samples.commentinheritance" diff --git a/src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.Carnivorous.getKind.yml b/src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.Carnivorous.getKind.yml new file mode 100644 index 0000000..0b8e608 --- /dev/null +++ b/src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.Carnivorous.getKind.yml @@ -0,0 +1,17 @@ +### YamlMime:JavaMember +uid: "com.microsoft.samples.commentinheritance.Carnivorous.getKind*" +fullName: "com.microsoft.samples.commentinheritance.Carnivorous.getKind" +name: "getKind" +nameWithType: "Carnivorous.getKind" +members: +- uid: "com.microsoft.samples.commentinheritance.Carnivorous.getKind()" + fullName: "com.microsoft.samples.commentinheritance.Carnivorous.getKind()" + name: "getKind()" + nameWithType: "Carnivorous.getKind()" + summary: "Get kind from Carnivorous." + syntax: "public abstract String getKind()" + returns: + type: "" +type: "method" +metadata: {} +package: "com.microsoft.samples.commentinheritance" diff --git a/src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.Carnivorous.yml b/src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.Carnivorous.yml index 2d9e801..5fcf3ca 100644 --- a/src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.Carnivorous.yml +++ b/src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.Carnivorous.yml @@ -1,72 +1,13 @@ -### YamlMime:ManagedReference -items: -- uid: "com.microsoft.samples.commentinheritance.Carnivorous" - id: "Carnivorous" - parent: "com.microsoft.samples.commentinheritance" - children: - - "com.microsoft.samples.commentinheritance.Carnivorous.eat(com.microsoft.samples.commentinheritance.Animal)" - - "com.microsoft.samples.commentinheritance.Carnivorous.getKind()" - langs: - - "java" - name: "Carnivorous" - nameWithType: "Carnivorous" - fullName: "com.microsoft.samples.commentinheritance.Carnivorous" - type: "Interface" - package: "com.microsoft.samples.commentinheritance" - summary: "Marks an Animal that eats other animals." - syntax: - content: "public interface Carnivorous" -- uid: "com.microsoft.samples.commentinheritance.Carnivorous.eat(com.microsoft.samples.commentinheritance.Animal)" - id: "eat(com.microsoft.samples.commentinheritance.Animal)" - parent: "com.microsoft.samples.commentinheritance.Carnivorous" - langs: - - "java" - name: "eat(Animal animalBeingEaten)" - nameWithType: "Carnivorous.eat(Animal animalBeingEaten)" - fullName: "com.microsoft.samples.commentinheritance.Carnivorous.eat(Animal animalBeingEaten)" - overload: "com.microsoft.samples.commentinheritance.Carnivorous.eat*" - type: "Method" - package: "com.microsoft.samples.commentinheritance" - summary: "Eat the provided animal." - syntax: - content: "public abstract void eat(Animal animalBeingEaten)" - parameters: - - id: "animalBeingEaten" - type: "com.microsoft.samples.commentinheritance.Animal" - description: "Animal that will be eaten." -- uid: "com.microsoft.samples.commentinheritance.Carnivorous.getKind()" - id: "getKind()" - parent: "com.microsoft.samples.commentinheritance.Carnivorous" - langs: - - "java" - name: "getKind()" - nameWithType: "Carnivorous.getKind()" - fullName: "com.microsoft.samples.commentinheritance.Carnivorous.getKind()" - overload: "com.microsoft.samples.commentinheritance.Carnivorous.getKind*" - type: "Method" - package: "com.microsoft.samples.commentinheritance" - summary: "Get kind from Carnivorous." - syntax: - content: "public abstract String getKind()" - return: - type: "java.lang.String" -references: -- uid: "com.microsoft.samples.commentinheritance.Animal" - name: "Animal" - nameWithType: "Animal" - fullName: "com.microsoft.samples.commentinheritance.Animal" -- uid: "com.microsoft.samples.commentinheritance.Carnivorous.eat*" - name: "eat" - nameWithType: "Carnivorous.eat" - fullName: "com.microsoft.samples.commentinheritance.Carnivorous.eat" - package: "com.microsoft.samples.commentinheritance" -- uid: "java.lang.String" - spec.java: - - uid: "java.lang.String" - name: "String" - fullName: "java.lang.String" -- uid: "com.microsoft.samples.commentinheritance.Carnivorous.getKind*" - name: "getKind" - nameWithType: "Carnivorous.getKind" - fullName: "com.microsoft.samples.commentinheritance.Carnivorous.getKind" - package: "com.microsoft.samples.commentinheritance" +### YamlMime:JavaType +uid: "com.microsoft.samples.commentinheritance.Carnivorous" +fullName: "com.microsoft.samples.commentinheritance.Carnivorous" +name: "Carnivorous" +nameWithType: "Carnivorous" +summary: "Marks an Animal that eats other animals." +syntax: "public interface Carnivorous" +methods: +- "com.microsoft.samples.commentinheritance.Carnivorous.eat(com.microsoft.samples.commentinheritance.Animal)" +- "com.microsoft.samples.commentinheritance.Carnivorous.getKind()" +type: "interface" +metadata: {} +package: "com.microsoft.samples.commentinheritance" diff --git a/src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.Dog.Dog.yml b/src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.Dog.Dog.yml new file mode 100644 index 0000000..985a507 --- /dev/null +++ b/src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.Dog.Dog.yml @@ -0,0 +1,14 @@ +### YamlMime:JavaMember +uid: "com.microsoft.samples.commentinheritance.Dog.Dog*" +fullName: "com.microsoft.samples.commentinheritance.Dog.Dog" +name: "Dog" +nameWithType: "Dog.Dog" +members: +- uid: "com.microsoft.samples.commentinheritance.Dog.Dog()" + fullName: "com.microsoft.samples.commentinheritance.Dog.Dog()" + name: "Dog()" + nameWithType: "Dog.Dog()" + syntax: "public Dog()" +type: "constructor" +metadata: {} +package: "com.microsoft.samples.commentinheritance" diff --git a/src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.Dog.eat.yml b/src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.Dog.eat.yml new file mode 100644 index 0000000..d0f1e6b --- /dev/null +++ b/src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.Dog.eat.yml @@ -0,0 +1,29 @@ +### YamlMime:JavaMember +uid: "com.microsoft.samples.commentinheritance.Dog.eat*" +fullName: "com.microsoft.samples.commentinheritance.Dog.eat" +name: "eat" +nameWithType: "Dog.eat" +members: +- uid: "com.microsoft.samples.commentinheritance.Dog.eat(com.microsoft.samples.commentinheritance.Animal)" + fullName: "com.microsoft.samples.commentinheritance.Dog.eat(Animal otherAnimal)" + name: "eat(Animal otherAnimal)" + nameWithType: "Dog.eat(Animal otherAnimal)" + summary: "Eat the provided animal." + parameters: + - description: "Tasty treat." + name: "otherAnimal" + type: "" + syntax: "public void eat(Animal otherAnimal)" +- uid: "com.microsoft.samples.commentinheritance.Dog.eat(com.microsoft.samples.commentinheritance.Herbivorous.Plant)" + fullName: "com.microsoft.samples.commentinheritance.Dog.eat(Herbivorous.Plant plantToBeEaten)" + name: "eat(Herbivorous.Plant plantToBeEaten)" + nameWithType: "Dog.eat(Herbivorous.Plant plantToBeEaten)" + summary: "Eat the provided plant." + parameters: + - description: "Plant that this dog will eat." + name: "plantToBeEaten" + type: "" + syntax: "public void eat(Herbivorous.Plant plantToBeEaten)" +type: "method" +metadata: {} +package: "com.microsoft.samples.commentinheritance" diff --git a/src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.Dog.feed.yml b/src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.Dog.feed.yml new file mode 100644 index 0000000..e38df18 --- /dev/null +++ b/src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.Dog.feed.yml @@ -0,0 +1,16 @@ +### YamlMime:JavaMember +uid: "com.microsoft.samples.commentinheritance.Dog.feed*" +fullName: "com.microsoft.samples.commentinheritance.Dog.feed" +name: "feed" +nameWithType: "Dog.feed" +members: +- uid: "com.microsoft.samples.commentinheritance.Dog.feed()" + fullName: "com.microsoft.samples.commentinheritance.Dog.feed()" + name: "feed()" + nameWithType: "Dog.feed()" + summary: "Feed offspring." + overridden: "com.microsoft.samples.commentinheritance.Animal.feed()" + syntax: "public void feed()" +type: "method" +metadata: {} +package: "com.microsoft.samples.commentinheritance" diff --git a/src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.Dog.getHairColor.yml b/src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.Dog.getHairColor.yml new file mode 100644 index 0000000..89ef8ff --- /dev/null +++ b/src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.Dog.getHairColor.yml @@ -0,0 +1,18 @@ +### YamlMime:JavaMember +uid: "com.microsoft.samples.commentinheritance.Dog.getHairColor*" +fullName: "com.microsoft.samples.commentinheritance.Dog.getHairColor" +name: "getHairColor" +nameWithType: "Dog.getHairColor" +members: +- uid: "com.microsoft.samples.commentinheritance.Dog.getHairColor()" + fullName: "com.microsoft.samples.commentinheritance.Dog.getHairColor()" + name: "getHairColor()" + nameWithType: "Dog.getHairColor()" + summary: "Provide the color of the dog's hair." + syntax: "public Color getHairColor()" + returns: + description: "Color of the dog's fur." + type: "" +type: "method" +metadata: {} +package: "com.microsoft.samples.commentinheritance" diff --git a/src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.Dog.getKind.yml b/src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.Dog.getKind.yml new file mode 100644 index 0000000..25ebf8f --- /dev/null +++ b/src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.Dog.getKind.yml @@ -0,0 +1,18 @@ +### YamlMime:JavaMember +uid: "com.microsoft.samples.commentinheritance.Dog.getKind*" +fullName: "com.microsoft.samples.commentinheritance.Dog.getKind" +name: "getKind" +nameWithType: "Dog.getKind" +members: +- uid: "com.microsoft.samples.commentinheritance.Dog.getKind()" + fullName: "com.microsoft.samples.commentinheritance.Dog.getKind()" + name: "getKind()" + nameWithType: "Dog.getKind()" + summary: "Get kind from Organism. Get kind from Animal. Get kind from Mammal. Get kind from Dog." + overridden: "com.microsoft.samples.commentinheritance.Mammal.getKind()" + syntax: "public String getKind()" + returns: + type: "" +type: "method" +metadata: {} +package: "com.microsoft.samples.commentinheritance" diff --git a/src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.Dog.giveBirth.yml b/src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.Dog.giveBirth.yml new file mode 100644 index 0000000..f3fd022 --- /dev/null +++ b/src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.Dog.giveBirth.yml @@ -0,0 +1,18 @@ +### YamlMime:JavaMember +uid: "com.microsoft.samples.commentinheritance.Dog.giveBirth*" +fullName: "com.microsoft.samples.commentinheritance.Dog.giveBirth" +name: "giveBirth" +nameWithType: "Dog.giveBirth" +members: +- uid: "com.microsoft.samples.commentinheritance.Dog.giveBirth(int)" + fullName: "com.microsoft.samples.commentinheritance.Dog.giveBirth(int numberPuppies)" + name: "giveBirth(int numberPuppies)" + nameWithType: "Dog.giveBirth(int numberPuppies)" + parameters: + - description: "Number of puppies being born." + name: "numberPuppies" + type: "" + syntax: "public void giveBirth(int numberPuppies)" +type: "method" +metadata: {} +package: "com.microsoft.samples.commentinheritance" diff --git a/src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.Dog.verballyCommunicate.yml b/src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.Dog.verballyCommunicate.yml new file mode 100644 index 0000000..81f63b6 --- /dev/null +++ b/src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.Dog.verballyCommunicate.yml @@ -0,0 +1,16 @@ +### YamlMime:JavaMember +uid: "com.microsoft.samples.commentinheritance.Dog.verballyCommunicate*" +fullName: "com.microsoft.samples.commentinheritance.Dog.verballyCommunicate" +name: "verballyCommunicate" +nameWithType: "Dog.verballyCommunicate" +members: +- uid: "com.microsoft.samples.commentinheritance.Dog.verballyCommunicate()" + fullName: "com.microsoft.samples.commentinheritance.Dog.verballyCommunicate()" + name: "verballyCommunicate()" + nameWithType: "Dog.verballyCommunicate()" + summary: "Communicate verbally. Bark." + overridden: "com.microsoft.samples.commentinheritance.Animal.verballyCommunicate()" + syntax: "public void verballyCommunicate()" +type: "method" +metadata: {} +package: "com.microsoft.samples.commentinheritance" diff --git a/src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.Dog.yml b/src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.Dog.yml index dbd9414..638e655 100644 --- a/src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.Dog.yml +++ b/src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.Dog.yml @@ -1,308 +1,43 @@ -### YamlMime:ManagedReference -items: -- uid: "com.microsoft.samples.commentinheritance.Dog" - id: "Dog" - parent: "com.microsoft.samples.commentinheritance" - children: - - "com.microsoft.samples.commentinheritance.Dog.Dog()" - - "com.microsoft.samples.commentinheritance.Dog.eat(com.microsoft.samples.commentinheritance.Animal)" - - "com.microsoft.samples.commentinheritance.Dog.eat(com.microsoft.samples.commentinheritance.Herbivorous.Plant)" - - "com.microsoft.samples.commentinheritance.Dog.feed()" - - "com.microsoft.samples.commentinheritance.Dog.getHairColor()" - - "com.microsoft.samples.commentinheritance.Dog.getKind()" - - "com.microsoft.samples.commentinheritance.Dog.giveBirth(int)" - - "com.microsoft.samples.commentinheritance.Dog.verballyCommunicate()" - langs: - - "java" - name: "Dog" - nameWithType: "Dog" - fullName: "com.microsoft.samples.commentinheritance.Dog" - type: "Class" - package: "com.microsoft.samples.commentinheritance" - summary: "Canine and man's best friend." - syntax: - content: "public class Dog extends Mammal implements Omnivorous, Viviparous" - inheritance: - - "java.lang.Object" - - "com.microsoft.samples.commentinheritance.Animal" - - "com.microsoft.samples.commentinheritance.Mammal" - implements: - - "com.microsoft.samples.commentinheritance.Omnivorous" - - "com.microsoft.samples.commentinheritance.Viviparous" - inheritedMembers: - - "com.microsoft.samples.commentinheritance.Animal.breathe()" - - "com.microsoft.samples.commentinheritance.Animal.feed()" - - "com.microsoft.samples.commentinheritance.Animal.verballyCommunicate()" - - "com.microsoft.samples.commentinheritance.Mammal.getKind()" - - "java.lang.Object.clone()" - - "java.lang.Object.equals(java.lang.Object)" - - "java.lang.Object.finalize()" - - "java.lang.Object.getClass()" - - "java.lang.Object.hashCode()" - - "java.lang.Object.notify()" - - "java.lang.Object.notifyAll()" - - "java.lang.Object.toString()" - - "java.lang.Object.wait()" - - "java.lang.Object.wait(long)" - - "java.lang.Object.wait(long,int)" -- uid: "com.microsoft.samples.commentinheritance.Dog.Dog()" - id: "Dog()" - parent: "com.microsoft.samples.commentinheritance.Dog" - langs: - - "java" - name: "Dog()" - nameWithType: "Dog.Dog()" - fullName: "com.microsoft.samples.commentinheritance.Dog.Dog()" - overload: "com.microsoft.samples.commentinheritance.Dog.Dog*" - type: "Constructor" - package: "com.microsoft.samples.commentinheritance" - syntax: - content: "public Dog()" -- uid: "com.microsoft.samples.commentinheritance.Dog.eat(com.microsoft.samples.commentinheritance.Animal)" - id: "eat(com.microsoft.samples.commentinheritance.Animal)" - parent: "com.microsoft.samples.commentinheritance.Dog" - langs: - - "java" - name: "eat(Animal otherAnimal)" - nameWithType: "Dog.eat(Animal otherAnimal)" - fullName: "com.microsoft.samples.commentinheritance.Dog.eat(Animal otherAnimal)" - overload: "com.microsoft.samples.commentinheritance.Dog.eat*" - type: "Method" - package: "com.microsoft.samples.commentinheritance" - summary: "Eat the provided animal." - syntax: - content: "public void eat(Animal otherAnimal)" - parameters: - - id: "otherAnimal" - type: "com.microsoft.samples.commentinheritance.Animal" - description: "Tasty treat." -- uid: "com.microsoft.samples.commentinheritance.Dog.eat(com.microsoft.samples.commentinheritance.Herbivorous.Plant)" - id: "eat(com.microsoft.samples.commentinheritance.Herbivorous.Plant)" - parent: "com.microsoft.samples.commentinheritance.Dog" - langs: - - "java" - name: "eat(Herbivorous.Plant plantToBeEaten)" - nameWithType: "Dog.eat(Herbivorous.Plant plantToBeEaten)" - fullName: "com.microsoft.samples.commentinheritance.Dog.eat(Herbivorous.Plant plantToBeEaten)" - overload: "com.microsoft.samples.commentinheritance.Dog.eat*" - type: "Method" - package: "com.microsoft.samples.commentinheritance" - summary: "Eat the provided plant." - syntax: - content: "public void eat(Herbivorous.Plant plantToBeEaten)" - parameters: - - id: "plantToBeEaten" - type: "com.microsoft.samples.commentinheritance.Herbivorous.Plant" - description: "Plant that this dog will eat." -- uid: "com.microsoft.samples.commentinheritance.Dog.feed()" - id: "feed()" - parent: "com.microsoft.samples.commentinheritance.Dog" - langs: - - "java" - name: "feed()" - nameWithType: "Dog.feed()" - fullName: "com.microsoft.samples.commentinheritance.Dog.feed()" - overload: "com.microsoft.samples.commentinheritance.Dog.feed*" - overridden: "com.microsoft.samples.commentinheritance.Animal.feed()" - type: "Method" - package: "com.microsoft.samples.commentinheritance" - summary: "Feed offspring." - syntax: - content: "public void feed()" -- uid: "com.microsoft.samples.commentinheritance.Dog.getHairColor()" - id: "getHairColor()" - parent: "com.microsoft.samples.commentinheritance.Dog" - langs: - - "java" - name: "getHairColor()" - nameWithType: "Dog.getHairColor()" - fullName: "com.microsoft.samples.commentinheritance.Dog.getHairColor()" - overload: "com.microsoft.samples.commentinheritance.Dog.getHairColor*" - type: "Method" - package: "com.microsoft.samples.commentinheritance" - summary: "Provide the color of the dog's hair." - syntax: - content: "public Color getHairColor()" - return: - type: "java.awt.Color" - description: "Color of the dog's fur." -- uid: "com.microsoft.samples.commentinheritance.Dog.getKind()" - id: "getKind()" - parent: "com.microsoft.samples.commentinheritance.Dog" - langs: - - "java" - name: "getKind()" - nameWithType: "Dog.getKind()" - fullName: "com.microsoft.samples.commentinheritance.Dog.getKind()" - overload: "com.microsoft.samples.commentinheritance.Dog.getKind*" - overridden: "com.microsoft.samples.commentinheritance.Mammal.getKind()" - type: "Method" - package: "com.microsoft.samples.commentinheritance" - summary: "Get kind from Organism. Get kind from Animal. Get kind from Mammal. Get kind from Dog." - syntax: - content: "public String getKind()" - return: - type: "java.lang.String" -- uid: "com.microsoft.samples.commentinheritance.Dog.giveBirth(int)" - id: "giveBirth(int)" - parent: "com.microsoft.samples.commentinheritance.Dog" - langs: - - "java" - name: "giveBirth(int numberPuppies)" - nameWithType: "Dog.giveBirth(int numberPuppies)" - fullName: "com.microsoft.samples.commentinheritance.Dog.giveBirth(int numberPuppies)" - overload: "com.microsoft.samples.commentinheritance.Dog.giveBirth*" - type: "Method" - package: "com.microsoft.samples.commentinheritance" - syntax: - content: "public void giveBirth(int numberPuppies)" - parameters: - - id: "numberPuppies" - type: "int" - description: "Number of puppies being born." -- uid: "com.microsoft.samples.commentinheritance.Dog.verballyCommunicate()" - id: "verballyCommunicate()" - parent: "com.microsoft.samples.commentinheritance.Dog" - langs: - - "java" - name: "verballyCommunicate()" - nameWithType: "Dog.verballyCommunicate()" - fullName: "com.microsoft.samples.commentinheritance.Dog.verballyCommunicate()" - overload: "com.microsoft.samples.commentinheritance.Dog.verballyCommunicate*" - overridden: "com.microsoft.samples.commentinheritance.Animal.verballyCommunicate()" - type: "Method" - package: "com.microsoft.samples.commentinheritance" - summary: "Communicate verbally. Bark." - syntax: - content: "public void verballyCommunicate()" -references: -- uid: "com.microsoft.samples.commentinheritance.Dog.Dog*" - name: "Dog" - nameWithType: "Dog.Dog" - fullName: "com.microsoft.samples.commentinheritance.Dog.Dog" - package: "com.microsoft.samples.commentinheritance" -- uid: "com.microsoft.samples.commentinheritance.Animal" - name: "Animal" - nameWithType: "Animal" - fullName: "com.microsoft.samples.commentinheritance.Animal" -- uid: "com.microsoft.samples.commentinheritance.Dog.eat*" - name: "eat" - nameWithType: "Dog.eat" - fullName: "com.microsoft.samples.commentinheritance.Dog.eat" - package: "com.microsoft.samples.commentinheritance" -- uid: "com.microsoft.samples.commentinheritance.Herbivorous.Plant" - name: "Herbivorous.Plant" - nameWithType: "Herbivorous.Plant" - fullName: "com.microsoft.samples.commentinheritance.Herbivorous.Plant" -- uid: "com.microsoft.samples.commentinheritance.Dog.verballyCommunicate*" - name: "verballyCommunicate" - nameWithType: "Dog.verballyCommunicate" - fullName: "com.microsoft.samples.commentinheritance.Dog.verballyCommunicate" - package: "com.microsoft.samples.commentinheritance" -- uid: "int" - spec.java: - - uid: "int" - name: "int" - fullName: "int" -- uid: "com.microsoft.samples.commentinheritance.Dog.giveBirth*" - name: "giveBirth" - nameWithType: "Dog.giveBirth" - fullName: "com.microsoft.samples.commentinheritance.Dog.giveBirth" - package: "com.microsoft.samples.commentinheritance" -- uid: "java.awt.Color" - spec.java: - - uid: "java.awt.Color" - name: "Color" - fullName: "java.awt.Color" -- uid: "com.microsoft.samples.commentinheritance.Dog.getHairColor*" - name: "getHairColor" - nameWithType: "Dog.getHairColor" - fullName: "com.microsoft.samples.commentinheritance.Dog.getHairColor" - package: "com.microsoft.samples.commentinheritance" -- uid: "com.microsoft.samples.commentinheritance.Dog.feed*" - name: "feed" - nameWithType: "Dog.feed" - fullName: "com.microsoft.samples.commentinheritance.Dog.feed" - package: "com.microsoft.samples.commentinheritance" -- uid: "java.lang.String" - spec.java: - - uid: "java.lang.String" - name: "String" - fullName: "java.lang.String" -- uid: "com.microsoft.samples.commentinheritance.Dog.getKind*" - name: "getKind" - nameWithType: "Dog.getKind" - fullName: "com.microsoft.samples.commentinheritance.Dog.getKind" - package: "com.microsoft.samples.commentinheritance" -- uid: "com.microsoft.samples.commentinheritance.Mammal" - name: "Mammal" - nameWithType: "Mammal" - fullName: "com.microsoft.samples.commentinheritance.Mammal" -- uid: "com.microsoft.samples.commentinheritance.Omnivorous" - name: "Omnivorous" - nameWithType: "Omnivorous" - fullName: "com.microsoft.samples.commentinheritance.Omnivorous" -- uid: "com.microsoft.samples.commentinheritance.Viviparous" - name: "Viviparous" - nameWithType: "Viviparous" - fullName: "com.microsoft.samples.commentinheritance.Viviparous" -- uid: "java.lang.Object.notify()" - name: "Object.notify()" - nameWithType: "Object.notify()" - fullName: "java.lang.Object.notify()" -- uid: "java.lang.Object.wait()" - name: "Object.wait()" - nameWithType: "Object.wait()" - fullName: "java.lang.Object.wait()" -- uid: "java.lang.Object.finalize()" - name: "Object.finalize()" - nameWithType: "Object.finalize()" - fullName: "java.lang.Object.finalize()" -- uid: "java.lang.Object.notifyAll()" - name: "Object.notifyAll()" - nameWithType: "Object.notifyAll()" - fullName: "java.lang.Object.notifyAll()" -- uid: "java.lang.Object.clone()" - name: "Object.clone()" - nameWithType: "Object.clone()" - fullName: "java.lang.Object.clone()" -- uid: "java.lang.Object.equals(java.lang.Object)" - name: "Object.equals(Object)" - nameWithType: "Object.equals(Object)" - fullName: "java.lang.Object.equals(java.lang.Object)" -- uid: "com.microsoft.samples.commentinheritance.Animal.breathe()" - name: "Animal.breathe()" - nameWithType: "Animal.breathe()" - fullName: "com.microsoft.samples.commentinheritance.Animal.breathe()" -- uid: "java.lang.Object.toString()" - name: "Object.toString()" - nameWithType: "Object.toString()" - fullName: "java.lang.Object.toString()" -- uid: "com.microsoft.samples.commentinheritance.Mammal.getKind()" - name: "Mammal.getKind()" - nameWithType: "Mammal.getKind()" - fullName: "com.microsoft.samples.commentinheritance.Mammal.getKind()" -- uid: "java.lang.Object.getClass()" - name: "Object.getClass()" - nameWithType: "Object.getClass()" - fullName: "java.lang.Object.getClass()" -- uid: "java.lang.Object.wait(long)" - name: "Object.wait(long)" - nameWithType: "Object.wait(long)" - fullName: "java.lang.Object.wait(long)" -- uid: "java.lang.Object.hashCode()" - name: "Object.hashCode()" - nameWithType: "Object.hashCode()" - fullName: "java.lang.Object.hashCode()" -- uid: "java.lang.Object.wait(long,int)" - name: "Object.wait(long,int)" - nameWithType: "Object.wait(long,int)" - fullName: "java.lang.Object.wait(long,int)" -- uid: "com.microsoft.samples.commentinheritance.Animal.verballyCommunicate()" - name: "Animal.verballyCommunicate()" - nameWithType: "Animal.verballyCommunicate()" - fullName: "com.microsoft.samples.commentinheritance.Animal.verballyCommunicate()" -- uid: "com.microsoft.samples.commentinheritance.Animal.feed()" - name: "Animal.feed()" - nameWithType: "Animal.feed()" - fullName: "com.microsoft.samples.commentinheritance.Animal.feed()" +### YamlMime:JavaType +uid: "com.microsoft.samples.commentinheritance.Dog" +fullName: "com.microsoft.samples.commentinheritance.Dog" +name: "Dog" +nameWithType: "Dog" +summary: "Canine and man's best friend." +inheritances: +- "" +- "" +- "" +inheritedMembers: +- "com.microsoft.samples.commentinheritance.Animal.breathe()" +- "com.microsoft.samples.commentinheritance.Animal.feed()" +- "com.microsoft.samples.commentinheritance.Animal.verballyCommunicate()" +- "com.microsoft.samples.commentinheritance.Mammal.getKind()" +- "java.lang.Object.clone()" +- "java.lang.Object.equals(java.lang.Object)" +- "java.lang.Object.finalize()" +- "java.lang.Object.getClass()" +- "java.lang.Object.hashCode()" +- "java.lang.Object.notify()" +- "java.lang.Object.notifyAll()" +- "java.lang.Object.toString()" +- "java.lang.Object.wait()" +- "java.lang.Object.wait(long)" +- "java.lang.Object.wait(long,int)" +syntax: "public class Dog extends Mammal implements Omnivorous, Viviparous" +constructors: +- "com.microsoft.samples.commentinheritance.Dog.Dog()" +methods: +- "com.microsoft.samples.commentinheritance.Dog.eat(com.microsoft.samples.commentinheritance.Animal)" +- "com.microsoft.samples.commentinheritance.Dog.eat(com.microsoft.samples.commentinheritance.Herbivorous.Plant)" +- "com.microsoft.samples.commentinheritance.Dog.feed()" +- "com.microsoft.samples.commentinheritance.Dog.getHairColor()" +- "com.microsoft.samples.commentinheritance.Dog.getKind()" +- "com.microsoft.samples.commentinheritance.Dog.giveBirth(int)" +- "com.microsoft.samples.commentinheritance.Dog.verballyCommunicate()" +type: "class" +implements: +- "" +- "" +metadata: {} +package: "com.microsoft.samples.commentinheritance" diff --git a/src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.Herbivorous.Plant.Plant.yml b/src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.Herbivorous.Plant.Plant.yml new file mode 100644 index 0000000..7ade51c --- /dev/null +++ b/src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.Herbivorous.Plant.Plant.yml @@ -0,0 +1,14 @@ +### YamlMime:JavaMember +uid: "com.microsoft.samples.commentinheritance.Herbivorous.Plant.Plant*" +fullName: "com.microsoft.samples.commentinheritance.Herbivorous.Plant.Plant" +name: "Plant" +nameWithType: "Herbivorous.Plant.Plant" +members: +- uid: "com.microsoft.samples.commentinheritance.Herbivorous.Plant.Plant()" + fullName: "com.microsoft.samples.commentinheritance.Herbivorous.Plant.Plant()" + name: "Plant()" + nameWithType: "Herbivorous.Plant.Plant()" + syntax: "public Plant()" +type: "constructor" +metadata: {} +package: "com.microsoft.samples.commentinheritance" diff --git a/src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.Herbivorous.Plant.yml b/src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.Herbivorous.Plant.yml index 780526c..6a9da48 100644 --- a/src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.Herbivorous.Plant.yml +++ b/src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.Herbivorous.Plant.yml @@ -1,93 +1,25 @@ -### YamlMime:ManagedReference -items: -- uid: "com.microsoft.samples.commentinheritance.Herbivorous.Plant" - id: "Plant" - parent: "com.microsoft.samples.commentinheritance" - children: - - "com.microsoft.samples.commentinheritance.Herbivorous.Plant.Plant()" - langs: - - "java" - name: "Herbivorous.Plant" - nameWithType: "Herbivorous.Plant" - fullName: "com.microsoft.samples.commentinheritance.Herbivorous.Plant" - type: "Class" - package: "com.microsoft.samples.commentinheritance" - syntax: - content: "public static class Herbivorous.Plant" - inheritance: - - "java.lang.Object" - inheritedMembers: - - "java.lang.Object.clone()" - - "java.lang.Object.equals(java.lang.Object)" - - "java.lang.Object.finalize()" - - "java.lang.Object.getClass()" - - "java.lang.Object.hashCode()" - - "java.lang.Object.notify()" - - "java.lang.Object.notifyAll()" - - "java.lang.Object.toString()" - - "java.lang.Object.wait()" - - "java.lang.Object.wait(long)" - - "java.lang.Object.wait(long,int)" -- uid: "com.microsoft.samples.commentinheritance.Herbivorous.Plant.Plant()" - id: "Plant()" - parent: "com.microsoft.samples.commentinheritance.Herbivorous.Plant" - langs: - - "java" - name: "Plant()" - nameWithType: "Herbivorous.Plant.Plant()" - fullName: "com.microsoft.samples.commentinheritance.Herbivorous.Plant.Plant()" - overload: "com.microsoft.samples.commentinheritance.Herbivorous.Plant.Plant*" - type: "Constructor" - package: "com.microsoft.samples.commentinheritance" - syntax: - content: "public Plant()" -references: -- uid: "com.microsoft.samples.commentinheritance.Herbivorous.Plant.Plant*" - name: "Plant" - nameWithType: "Herbivorous.Plant.Plant" - fullName: "com.microsoft.samples.commentinheritance.Herbivorous.Plant.Plant" - package: "com.microsoft.samples.commentinheritance" -- uid: "java.lang.Object.notify()" - name: "Object.notify()" - nameWithType: "Object.notify()" - fullName: "java.lang.Object.notify()" -- uid: "java.lang.Object.wait()" - name: "Object.wait()" - nameWithType: "Object.wait()" - fullName: "java.lang.Object.wait()" -- uid: "java.lang.Object.finalize()" - name: "Object.finalize()" - nameWithType: "Object.finalize()" - fullName: "java.lang.Object.finalize()" -- uid: "java.lang.Object.clone()" - name: "Object.clone()" - nameWithType: "Object.clone()" - fullName: "java.lang.Object.clone()" -- uid: "java.lang.Object.notifyAll()" - name: "Object.notifyAll()" - nameWithType: "Object.notifyAll()" - fullName: "java.lang.Object.notifyAll()" -- uid: "java.lang.Object.equals(java.lang.Object)" - name: "Object.equals(Object)" - nameWithType: "Object.equals(Object)" - fullName: "java.lang.Object.equals(java.lang.Object)" -- uid: "java.lang.Object.getClass()" - name: "Object.getClass()" - nameWithType: "Object.getClass()" - fullName: "java.lang.Object.getClass()" -- uid: "java.lang.Object.wait(long)" - name: "Object.wait(long)" - nameWithType: "Object.wait(long)" - fullName: "java.lang.Object.wait(long)" -- uid: "java.lang.Object.hashCode()" - name: "Object.hashCode()" - nameWithType: "Object.hashCode()" - fullName: "java.lang.Object.hashCode()" -- uid: "java.lang.Object.wait(long,int)" - name: "Object.wait(long,int)" - nameWithType: "Object.wait(long,int)" - fullName: "java.lang.Object.wait(long,int)" -- uid: "java.lang.Object.toString()" - name: "Object.toString()" - nameWithType: "Object.toString()" - fullName: "java.lang.Object.toString()" +### YamlMime:JavaType +uid: "com.microsoft.samples.commentinheritance.Herbivorous.Plant" +fullName: "com.microsoft.samples.commentinheritance.Herbivorous.Plant" +name: "Herbivorous.Plant" +nameWithType: "Herbivorous.Plant" +inheritances: +- "" +inheritedMembers: +- "java.lang.Object.clone()" +- "java.lang.Object.equals(java.lang.Object)" +- "java.lang.Object.finalize()" +- "java.lang.Object.getClass()" +- "java.lang.Object.hashCode()" +- "java.lang.Object.notify()" +- "java.lang.Object.notifyAll()" +- "java.lang.Object.toString()" +- "java.lang.Object.wait()" +- "java.lang.Object.wait(long)" +- "java.lang.Object.wait(long,int)" +syntax: "public static class Herbivorous.Plant" +constructors: +- "com.microsoft.samples.commentinheritance.Herbivorous.Plant.Plant()" +type: "class" +metadata: {} +package: "com.microsoft.samples.commentinheritance" diff --git a/src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.Herbivorous.eat.yml b/src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.Herbivorous.eat.yml new file mode 100644 index 0000000..29ffdcc --- /dev/null +++ b/src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.Herbivorous.eat.yml @@ -0,0 +1,19 @@ +### YamlMime:JavaMember +uid: "com.microsoft.samples.commentinheritance.Herbivorous.eat*" +fullName: "com.microsoft.samples.commentinheritance.Herbivorous.eat" +name: "eat" +nameWithType: "Herbivorous.eat" +members: +- uid: "com.microsoft.samples.commentinheritance.Herbivorous.eat(com.microsoft.samples.commentinheritance.Herbivorous.Plant)" + fullName: "com.microsoft.samples.commentinheritance.Herbivorous.eat(Herbivorous.Plant plantToBeEaten)" + name: "eat(Herbivorous.Plant plantToBeEaten)" + nameWithType: "Herbivorous.eat(Herbivorous.Plant plantToBeEaten)" + summary: "Eat the provided plant." + parameters: + - description: "Plant that will be eaten." + name: "plantToBeEaten" + type: "" + syntax: "public abstract void eat(Herbivorous.Plant plantToBeEaten)" +type: "method" +metadata: {} +package: "com.microsoft.samples.commentinheritance" diff --git a/src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.Herbivorous.getKind.yml b/src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.Herbivorous.getKind.yml new file mode 100644 index 0000000..55759bc --- /dev/null +++ b/src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.Herbivorous.getKind.yml @@ -0,0 +1,17 @@ +### YamlMime:JavaMember +uid: "com.microsoft.samples.commentinheritance.Herbivorous.getKind*" +fullName: "com.microsoft.samples.commentinheritance.Herbivorous.getKind" +name: "getKind" +nameWithType: "Herbivorous.getKind" +members: +- uid: "com.microsoft.samples.commentinheritance.Herbivorous.getKind()" + fullName: "com.microsoft.samples.commentinheritance.Herbivorous.getKind()" + name: "getKind()" + nameWithType: "Herbivorous.getKind()" + summary: "Get kind from Herbivorous." + syntax: "public abstract String getKind()" + returns: + type: "" +type: "method" +metadata: {} +package: "com.microsoft.samples.commentinheritance" diff --git a/src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.Herbivorous.yml b/src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.Herbivorous.yml index 4c84584..bfadeab 100644 --- a/src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.Herbivorous.yml +++ b/src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.Herbivorous.yml @@ -1,73 +1,13 @@ -### YamlMime:ManagedReference -items: -- uid: "com.microsoft.samples.commentinheritance.Herbivorous" - id: "Herbivorous" - parent: "com.microsoft.samples.commentinheritance" - children: - - "com.microsoft.samples.commentinheritance.Herbivorous.Plant" - - "com.microsoft.samples.commentinheritance.Herbivorous.eat(com.microsoft.samples.commentinheritance.Herbivorous.Plant)" - - "com.microsoft.samples.commentinheritance.Herbivorous.getKind()" - langs: - - "java" - name: "Herbivorous" - nameWithType: "Herbivorous" - fullName: "com.microsoft.samples.commentinheritance.Herbivorous" - type: "Interface" - package: "com.microsoft.samples.commentinheritance" - summary: "Marks animals that eat plants." - syntax: - content: "public interface Herbivorous" -- uid: "com.microsoft.samples.commentinheritance.Herbivorous.eat(com.microsoft.samples.commentinheritance.Herbivorous.Plant)" - id: "eat(com.microsoft.samples.commentinheritance.Herbivorous.Plant)" - parent: "com.microsoft.samples.commentinheritance.Herbivorous" - langs: - - "java" - name: "eat(Herbivorous.Plant plantToBeEaten)" - nameWithType: "Herbivorous.eat(Herbivorous.Plant plantToBeEaten)" - fullName: "com.microsoft.samples.commentinheritance.Herbivorous.eat(Herbivorous.Plant plantToBeEaten)" - overload: "com.microsoft.samples.commentinheritance.Herbivorous.eat*" - type: "Method" - package: "com.microsoft.samples.commentinheritance" - summary: "Eat the provided plant." - syntax: - content: "public abstract void eat(Herbivorous.Plant plantToBeEaten)" - parameters: - - id: "plantToBeEaten" - type: "com.microsoft.samples.commentinheritance.Herbivorous.Plant" - description: "Plant that will be eaten." -- uid: "com.microsoft.samples.commentinheritance.Herbivorous.getKind()" - id: "getKind()" - parent: "com.microsoft.samples.commentinheritance.Herbivorous" - langs: - - "java" - name: "getKind()" - nameWithType: "Herbivorous.getKind()" - fullName: "com.microsoft.samples.commentinheritance.Herbivorous.getKind()" - overload: "com.microsoft.samples.commentinheritance.Herbivorous.getKind*" - type: "Method" - package: "com.microsoft.samples.commentinheritance" - summary: "Get kind from Herbivorous." - syntax: - content: "public abstract String getKind()" - return: - type: "java.lang.String" -references: -- uid: "com.microsoft.samples.commentinheritance.Herbivorous.Plant" - name: "Herbivorous.Plant" - nameWithType: "Herbivorous.Plant" - fullName: "com.microsoft.samples.commentinheritance.Herbivorous.Plant" -- uid: "com.microsoft.samples.commentinheritance.Herbivorous.eat*" - name: "eat" - nameWithType: "Herbivorous.eat" - fullName: "com.microsoft.samples.commentinheritance.Herbivorous.eat" - package: "com.microsoft.samples.commentinheritance" -- uid: "java.lang.String" - spec.java: - - uid: "java.lang.String" - name: "String" - fullName: "java.lang.String" -- uid: "com.microsoft.samples.commentinheritance.Herbivorous.getKind*" - name: "getKind" - nameWithType: "Herbivorous.getKind" - fullName: "com.microsoft.samples.commentinheritance.Herbivorous.getKind" - package: "com.microsoft.samples.commentinheritance" +### YamlMime:JavaType +uid: "com.microsoft.samples.commentinheritance.Herbivorous" +fullName: "com.microsoft.samples.commentinheritance.Herbivorous" +name: "Herbivorous" +nameWithType: "Herbivorous" +summary: "Marks animals that eat plants." +syntax: "public interface Herbivorous" +methods: +- "com.microsoft.samples.commentinheritance.Herbivorous.eat(com.microsoft.samples.commentinheritance.Herbivorous.Plant)" +- "com.microsoft.samples.commentinheritance.Herbivorous.getKind()" +type: "interface" +metadata: {} +package: "com.microsoft.samples.commentinheritance" diff --git a/src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.Mammal.Mammal.yml b/src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.Mammal.Mammal.yml new file mode 100644 index 0000000..3f07124 --- /dev/null +++ b/src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.Mammal.Mammal.yml @@ -0,0 +1,14 @@ +### YamlMime:JavaMember +uid: "com.microsoft.samples.commentinheritance.Mammal.Mammal*" +fullName: "com.microsoft.samples.commentinheritance.Mammal.Mammal" +name: "Mammal" +nameWithType: "Mammal.Mammal" +members: +- uid: "com.microsoft.samples.commentinheritance.Mammal.Mammal()" + fullName: "com.microsoft.samples.commentinheritance.Mammal.Mammal()" + name: "Mammal()" + nameWithType: "Mammal.Mammal()" + syntax: "public Mammal()" +type: "constructor" +metadata: {} +package: "com.microsoft.samples.commentinheritance" diff --git a/src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.Mammal.getKind.yml b/src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.Mammal.getKind.yml new file mode 100644 index 0000000..0d99ce2 --- /dev/null +++ b/src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.Mammal.getKind.yml @@ -0,0 +1,18 @@ +### YamlMime:JavaMember +uid: "com.microsoft.samples.commentinheritance.Mammal.getKind*" +fullName: "com.microsoft.samples.commentinheritance.Mammal.getKind" +name: "getKind" +nameWithType: "Mammal.getKind" +members: +- uid: "com.microsoft.samples.commentinheritance.Mammal.getKind()" + fullName: "com.microsoft.samples.commentinheritance.Mammal.getKind()" + name: "getKind()" + nameWithType: "Mammal.getKind()" + summary: "Get kind from Organism. Get kind from Animal. Get kind from Mammal." + overridden: "com.microsoft.samples.commentinheritance.Animal.getKind()" + syntax: "public abstract String getKind()" + returns: + type: "" +type: "method" +metadata: {} +package: "com.microsoft.samples.commentinheritance" diff --git a/src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.Mammal.yml b/src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.Mammal.yml index 22689cd..6763378 100644 --- a/src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.Mammal.yml +++ b/src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.Mammal.yml @@ -1,147 +1,33 @@ -### YamlMime:ManagedReference -items: -- uid: "com.microsoft.samples.commentinheritance.Mammal" - id: "Mammal" - parent: "com.microsoft.samples.commentinheritance" - children: - - "com.microsoft.samples.commentinheritance.Mammal.Mammal()" - - "com.microsoft.samples.commentinheritance.Mammal.getKind()" - langs: - - "java" - name: "Mammal" - nameWithType: "Mammal" - fullName: "com.microsoft.samples.commentinheritance.Mammal" - type: "Class" - package: "com.microsoft.samples.commentinheritance" - summary: "Mammal." - syntax: - content: "public abstract class Mammal extends Animal" - inheritance: - - "java.lang.Object" - - "com.microsoft.samples.commentinheritance.Animal" - inheritedMembers: - - "com.microsoft.samples.commentinheritance.Animal.breathe()" - - "com.microsoft.samples.commentinheritance.Animal.feed()" - - "com.microsoft.samples.commentinheritance.Animal.getKind()" - - "com.microsoft.samples.commentinheritance.Animal.verballyCommunicate()" - - "java.lang.Object.clone()" - - "java.lang.Object.equals(java.lang.Object)" - - "java.lang.Object.finalize()" - - "java.lang.Object.getClass()" - - "java.lang.Object.hashCode()" - - "java.lang.Object.notify()" - - "java.lang.Object.notifyAll()" - - "java.lang.Object.toString()" - - "java.lang.Object.wait()" - - "java.lang.Object.wait(long)" - - "java.lang.Object.wait(long,int)" -- uid: "com.microsoft.samples.commentinheritance.Mammal.Mammal()" - id: "Mammal()" - parent: "com.microsoft.samples.commentinheritance.Mammal" - langs: - - "java" - name: "Mammal()" - nameWithType: "Mammal.Mammal()" - fullName: "com.microsoft.samples.commentinheritance.Mammal.Mammal()" - overload: "com.microsoft.samples.commentinheritance.Mammal.Mammal*" - type: "Constructor" - package: "com.microsoft.samples.commentinheritance" - syntax: - content: "public Mammal()" -- uid: "com.microsoft.samples.commentinheritance.Mammal.getKind()" - id: "getKind()" - parent: "com.microsoft.samples.commentinheritance.Mammal" - langs: - - "java" - name: "getKind()" - nameWithType: "Mammal.getKind()" - fullName: "com.microsoft.samples.commentinheritance.Mammal.getKind()" - overload: "com.microsoft.samples.commentinheritance.Mammal.getKind*" - overridden: "com.microsoft.samples.commentinheritance.Animal.getKind()" - type: "Method" - package: "com.microsoft.samples.commentinheritance" - summary: "Get kind from Organism. Get kind from Animal. Get kind from Mammal." - syntax: - content: "public abstract String getKind()" - return: - type: "java.lang.String" -references: -- uid: "com.microsoft.samples.commentinheritance.Mammal.Mammal*" - name: "Mammal" - nameWithType: "Mammal.Mammal" - fullName: "com.microsoft.samples.commentinheritance.Mammal.Mammal" - package: "com.microsoft.samples.commentinheritance" -- uid: "java.lang.String" - spec.java: - - uid: "java.lang.String" - name: "String" - fullName: "java.lang.String" -- uid: "com.microsoft.samples.commentinheritance.Mammal.getKind*" - name: "getKind" - nameWithType: "Mammal.getKind" - fullName: "com.microsoft.samples.commentinheritance.Mammal.getKind" - package: "com.microsoft.samples.commentinheritance" -- uid: "com.microsoft.samples.commentinheritance.Animal" - name: "Animal" - nameWithType: "Animal" - fullName: "com.microsoft.samples.commentinheritance.Animal" -- uid: "java.lang.Object.notify()" - name: "Object.notify()" - nameWithType: "Object.notify()" - fullName: "java.lang.Object.notify()" -- uid: "java.lang.Object.wait()" - name: "Object.wait()" - nameWithType: "Object.wait()" - fullName: "java.lang.Object.wait()" -- uid: "java.lang.Object.finalize()" - name: "Object.finalize()" - nameWithType: "Object.finalize()" - fullName: "java.lang.Object.finalize()" -- uid: "java.lang.Object.notifyAll()" - name: "Object.notifyAll()" - nameWithType: "Object.notifyAll()" - fullName: "java.lang.Object.notifyAll()" -- uid: "java.lang.Object.clone()" - name: "Object.clone()" - nameWithType: "Object.clone()" - fullName: "java.lang.Object.clone()" -- uid: "java.lang.Object.equals(java.lang.Object)" - name: "Object.equals(Object)" - nameWithType: "Object.equals(Object)" - fullName: "java.lang.Object.equals(java.lang.Object)" -- uid: "com.microsoft.samples.commentinheritance.Animal.breathe()" - name: "Animal.breathe()" - nameWithType: "Animal.breathe()" - fullName: "com.microsoft.samples.commentinheritance.Animal.breathe()" -- uid: "java.lang.Object.toString()" - name: "Object.toString()" - nameWithType: "Object.toString()" - fullName: "java.lang.Object.toString()" -- uid: "java.lang.Object.getClass()" - name: "Object.getClass()" - nameWithType: "Object.getClass()" - fullName: "java.lang.Object.getClass()" -- uid: "java.lang.Object.wait(long)" - name: "Object.wait(long)" - nameWithType: "Object.wait(long)" - fullName: "java.lang.Object.wait(long)" -- uid: "java.lang.Object.hashCode()" - name: "Object.hashCode()" - nameWithType: "Object.hashCode()" - fullName: "java.lang.Object.hashCode()" -- uid: "com.microsoft.samples.commentinheritance.Animal.getKind()" - name: "Animal.getKind()" - nameWithType: "Animal.getKind()" - fullName: "com.microsoft.samples.commentinheritance.Animal.getKind()" -- uid: "java.lang.Object.wait(long,int)" - name: "Object.wait(long,int)" - nameWithType: "Object.wait(long,int)" - fullName: "java.lang.Object.wait(long,int)" -- uid: "com.microsoft.samples.commentinheritance.Animal.verballyCommunicate()" - name: "Animal.verballyCommunicate()" - nameWithType: "Animal.verballyCommunicate()" - fullName: "com.microsoft.samples.commentinheritance.Animal.verballyCommunicate()" -- uid: "com.microsoft.samples.commentinheritance.Animal.feed()" - name: "Animal.feed()" - nameWithType: "Animal.feed()" - fullName: "com.microsoft.samples.commentinheritance.Animal.feed()" +### YamlMime:JavaType +uid: "com.microsoft.samples.commentinheritance.Mammal" +fullName: "com.microsoft.samples.commentinheritance.Mammal" +name: "Mammal" +nameWithType: "Mammal" +summary: "Mammal." +inheritances: +- "" +- "" +inheritedMembers: +- "com.microsoft.samples.commentinheritance.Animal.breathe()" +- "com.microsoft.samples.commentinheritance.Animal.feed()" +- "com.microsoft.samples.commentinheritance.Animal.getKind()" +- "com.microsoft.samples.commentinheritance.Animal.verballyCommunicate()" +- "java.lang.Object.clone()" +- "java.lang.Object.equals(java.lang.Object)" +- "java.lang.Object.finalize()" +- "java.lang.Object.getClass()" +- "java.lang.Object.hashCode()" +- "java.lang.Object.notify()" +- "java.lang.Object.notifyAll()" +- "java.lang.Object.toString()" +- "java.lang.Object.wait()" +- "java.lang.Object.wait(long)" +- "java.lang.Object.wait(long,int)" +syntax: "public abstract class Mammal extends Animal" +constructors: +- "com.microsoft.samples.commentinheritance.Mammal.Mammal()" +methods: +- "com.microsoft.samples.commentinheritance.Mammal.getKind()" +type: "class" +metadata: {} +package: "com.microsoft.samples.commentinheritance" diff --git a/src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.Omnivorous.eat.yml b/src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.Omnivorous.eat.yml new file mode 100644 index 0000000..c6cfacc --- /dev/null +++ b/src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.Omnivorous.eat.yml @@ -0,0 +1,27 @@ +### YamlMime:JavaMember +uid: "com.microsoft.samples.commentinheritance.Omnivorous.eat*" +fullName: "com.microsoft.samples.commentinheritance.Omnivorous.eat" +name: "eat" +nameWithType: "Omnivorous.eat" +members: +- uid: "com.microsoft.samples.commentinheritance.Omnivorous.eat(com.microsoft.samples.commentinheritance.Animal)" + fullName: "com.microsoft.samples.commentinheritance.Omnivorous.eat(Animal animalToBeEaten)" + name: "eat(Animal animalToBeEaten)" + nameWithType: "Omnivorous.eat(Animal animalToBeEaten)" + summary: "Eat the provided animal." + parameters: + - name: "animalToBeEaten" + type: "" + syntax: "public abstract void eat(Animal animalToBeEaten)" +- uid: "com.microsoft.samples.commentinheritance.Omnivorous.eat(com.microsoft.samples.commentinheritance.Herbivorous.Plant)" + fullName: "com.microsoft.samples.commentinheritance.Omnivorous.eat(Herbivorous.Plant plantToBeEaten)" + name: "eat(Herbivorous.Plant plantToBeEaten)" + nameWithType: "Omnivorous.eat(Herbivorous.Plant plantToBeEaten)" + summary: "Eat the provided plant." + parameters: + - name: "plantToBeEaten" + type: "" + syntax: "public abstract void eat(Herbivorous.Plant plantToBeEaten)" +type: "method" +metadata: {} +package: "com.microsoft.samples.commentinheritance" diff --git a/src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.Omnivorous.getKind.yml b/src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.Omnivorous.getKind.yml new file mode 100644 index 0000000..0e2e568 --- /dev/null +++ b/src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.Omnivorous.getKind.yml @@ -0,0 +1,17 @@ +### YamlMime:JavaMember +uid: "com.microsoft.samples.commentinheritance.Omnivorous.getKind*" +fullName: "com.microsoft.samples.commentinheritance.Omnivorous.getKind" +name: "getKind" +nameWithType: "Omnivorous.getKind" +members: +- uid: "com.microsoft.samples.commentinheritance.Omnivorous.getKind()" + fullName: "com.microsoft.samples.commentinheritance.Omnivorous.getKind()" + name: "getKind()" + nameWithType: "Omnivorous.getKind()" + summary: "Get kind from Carnivorous. Get kind from Omnivorous." + syntax: "public abstract String getKind()" + returns: + type: "" +type: "method" +metadata: {} +package: "com.microsoft.samples.commentinheritance" diff --git a/src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.Omnivorous.yml b/src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.Omnivorous.yml index 7995ebf..f852100 100644 --- a/src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.Omnivorous.yml +++ b/src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.Omnivorous.yml @@ -1,104 +1,17 @@ -### YamlMime:ManagedReference -items: -- uid: "com.microsoft.samples.commentinheritance.Omnivorous" - id: "Omnivorous" - parent: "com.microsoft.samples.commentinheritance" - children: - - "com.microsoft.samples.commentinheritance.Omnivorous.eat(com.microsoft.samples.commentinheritance.Animal)" - - "com.microsoft.samples.commentinheritance.Omnivorous.eat(com.microsoft.samples.commentinheritance.Herbivorous.Plant)" - - "com.microsoft.samples.commentinheritance.Omnivorous.getKind()" - langs: - - "java" - name: "Omnivorous" - nameWithType: "Omnivorous" - fullName: "com.microsoft.samples.commentinheritance.Omnivorous" - type: "Interface" - package: "com.microsoft.samples.commentinheritance" - summary: "Eats plants and animals." - syntax: - content: "public interface Omnivorous extends Carnivorous, Herbivorous" - implements: - - "com.microsoft.samples.commentinheritance.Carnivorous" - - "com.microsoft.samples.commentinheritance.Herbivorous" -- uid: "com.microsoft.samples.commentinheritance.Omnivorous.eat(com.microsoft.samples.commentinheritance.Animal)" - id: "eat(com.microsoft.samples.commentinheritance.Animal)" - parent: "com.microsoft.samples.commentinheritance.Omnivorous" - langs: - - "java" - name: "eat(Animal animalToBeEaten)" - nameWithType: "Omnivorous.eat(Animal animalToBeEaten)" - fullName: "com.microsoft.samples.commentinheritance.Omnivorous.eat(Animal animalToBeEaten)" - overload: "com.microsoft.samples.commentinheritance.Omnivorous.eat*" - type: "Method" - package: "com.microsoft.samples.commentinheritance" - summary: "Eat the provided animal." - syntax: - content: "public abstract void eat(Animal animalToBeEaten)" - parameters: - - id: "animalToBeEaten" - type: "com.microsoft.samples.commentinheritance.Animal" -- uid: "com.microsoft.samples.commentinheritance.Omnivorous.eat(com.microsoft.samples.commentinheritance.Herbivorous.Plant)" - id: "eat(com.microsoft.samples.commentinheritance.Herbivorous.Plant)" - parent: "com.microsoft.samples.commentinheritance.Omnivorous" - langs: - - "java" - name: "eat(Herbivorous.Plant plantToBeEaten)" - nameWithType: "Omnivorous.eat(Herbivorous.Plant plantToBeEaten)" - fullName: "com.microsoft.samples.commentinheritance.Omnivorous.eat(Herbivorous.Plant plantToBeEaten)" - overload: "com.microsoft.samples.commentinheritance.Omnivorous.eat*" - type: "Method" - package: "com.microsoft.samples.commentinheritance" - summary: "Eat the provided plant." - syntax: - content: "public abstract void eat(Herbivorous.Plant plantToBeEaten)" - parameters: - - id: "plantToBeEaten" - type: "com.microsoft.samples.commentinheritance.Herbivorous.Plant" -- uid: "com.microsoft.samples.commentinheritance.Omnivorous.getKind()" - id: "getKind()" - parent: "com.microsoft.samples.commentinheritance.Omnivorous" - langs: - - "java" - name: "getKind()" - nameWithType: "Omnivorous.getKind()" - fullName: "com.microsoft.samples.commentinheritance.Omnivorous.getKind()" - overload: "com.microsoft.samples.commentinheritance.Omnivorous.getKind*" - type: "Method" - package: "com.microsoft.samples.commentinheritance" - summary: "Get kind from Carnivorous. Get kind from Omnivorous." - syntax: - content: "public abstract String getKind()" - return: - type: "java.lang.String" -references: -- uid: "com.microsoft.samples.commentinheritance.Animal" - name: "Animal" - nameWithType: "Animal" - fullName: "com.microsoft.samples.commentinheritance.Animal" -- uid: "com.microsoft.samples.commentinheritance.Omnivorous.eat*" - name: "eat" - nameWithType: "Omnivorous.eat" - fullName: "com.microsoft.samples.commentinheritance.Omnivorous.eat" - package: "com.microsoft.samples.commentinheritance" -- uid: "com.microsoft.samples.commentinheritance.Herbivorous.Plant" - name: "Herbivorous.Plant" - nameWithType: "Herbivorous.Plant" - fullName: "com.microsoft.samples.commentinheritance.Herbivorous.Plant" -- uid: "java.lang.String" - spec.java: - - uid: "java.lang.String" - name: "String" - fullName: "java.lang.String" -- uid: "com.microsoft.samples.commentinheritance.Omnivorous.getKind*" - name: "getKind" - nameWithType: "Omnivorous.getKind" - fullName: "com.microsoft.samples.commentinheritance.Omnivorous.getKind" - package: "com.microsoft.samples.commentinheritance" -- uid: "com.microsoft.samples.commentinheritance.Herbivorous" - name: "Herbivorous" - nameWithType: "Herbivorous" - fullName: "com.microsoft.samples.commentinheritance.Herbivorous" -- uid: "com.microsoft.samples.commentinheritance.Carnivorous" - name: "Carnivorous" - nameWithType: "Carnivorous" - fullName: "com.microsoft.samples.commentinheritance.Carnivorous" +### YamlMime:JavaType +uid: "com.microsoft.samples.commentinheritance.Omnivorous" +fullName: "com.microsoft.samples.commentinheritance.Omnivorous" +name: "Omnivorous" +nameWithType: "Omnivorous" +summary: "Eats plants and animals." +syntax: "public interface Omnivorous extends Carnivorous, Herbivorous" +methods: +- "com.microsoft.samples.commentinheritance.Omnivorous.eat(com.microsoft.samples.commentinheritance.Animal)" +- "com.microsoft.samples.commentinheritance.Omnivorous.eat(com.microsoft.samples.commentinheritance.Herbivorous.Plant)" +- "com.microsoft.samples.commentinheritance.Omnivorous.getKind()" +type: "interface" +implements: +- "" +- "" +metadata: {} +package: "com.microsoft.samples.commentinheritance" diff --git a/src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.Organism.getKind.yml b/src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.Organism.getKind.yml new file mode 100644 index 0000000..af75020 --- /dev/null +++ b/src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.Organism.getKind.yml @@ -0,0 +1,17 @@ +### YamlMime:JavaMember +uid: "com.microsoft.samples.commentinheritance.Organism.getKind*" +fullName: "com.microsoft.samples.commentinheritance.Organism.getKind" +name: "getKind" +nameWithType: "Organism.getKind" +members: +- uid: "com.microsoft.samples.commentinheritance.Organism.getKind()" + fullName: "com.microsoft.samples.commentinheritance.Organism.getKind()" + name: "getKind()" + nameWithType: "Organism.getKind()" + summary: "Get kind from Organism." + syntax: "public abstract String getKind()" + returns: + type: "" +type: "method" +metadata: {} +package: "com.microsoft.samples.commentinheritance" diff --git a/src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.Organism.yml b/src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.Organism.yml index fc7597c..4b1d576 100644 --- a/src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.Organism.yml +++ b/src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.Organism.yml @@ -1,43 +1,11 @@ -### YamlMime:ManagedReference -items: -- uid: "com.microsoft.samples.commentinheritance.Organism" - id: "Organism" - parent: "com.microsoft.samples.commentinheritance" - children: - - "com.microsoft.samples.commentinheritance.Organism.getKind()" - langs: - - "java" - name: "Organism" - nameWithType: "Organism" - fullName: "com.microsoft.samples.commentinheritance.Organism" - type: "Interface" - package: "com.microsoft.samples.commentinheritance" - syntax: - content: "public interface Organism" -- uid: "com.microsoft.samples.commentinheritance.Organism.getKind()" - id: "getKind()" - parent: "com.microsoft.samples.commentinheritance.Organism" - langs: - - "java" - name: "getKind()" - nameWithType: "Organism.getKind()" - fullName: "com.microsoft.samples.commentinheritance.Organism.getKind()" - overload: "com.microsoft.samples.commentinheritance.Organism.getKind*" - type: "Method" - package: "com.microsoft.samples.commentinheritance" - summary: "Get kind from Organism." - syntax: - content: "public abstract String getKind()" - return: - type: "java.lang.String" -references: -- uid: "java.lang.String" - spec.java: - - uid: "java.lang.String" - name: "String" - fullName: "java.lang.String" -- uid: "com.microsoft.samples.commentinheritance.Organism.getKind*" - name: "getKind" - nameWithType: "Organism.getKind" - fullName: "com.microsoft.samples.commentinheritance.Organism.getKind" - package: "com.microsoft.samples.commentinheritance" +### YamlMime:JavaType +uid: "com.microsoft.samples.commentinheritance.Organism" +fullName: "com.microsoft.samples.commentinheritance.Organism" +name: "Organism" +nameWithType: "Organism" +syntax: "public interface Organism" +methods: +- "com.microsoft.samples.commentinheritance.Organism.getKind()" +type: "interface" +metadata: {} +package: "com.microsoft.samples.commentinheritance" diff --git a/src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.Viviparous.getKind.yml b/src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.Viviparous.getKind.yml new file mode 100644 index 0000000..fcff666 --- /dev/null +++ b/src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.Viviparous.getKind.yml @@ -0,0 +1,17 @@ +### YamlMime:JavaMember +uid: "com.microsoft.samples.commentinheritance.Viviparous.getKind*" +fullName: "com.microsoft.samples.commentinheritance.Viviparous.getKind" +name: "getKind" +nameWithType: "Viviparous.getKind" +members: +- uid: "com.microsoft.samples.commentinheritance.Viviparous.getKind()" + fullName: "com.microsoft.samples.commentinheritance.Viviparous.getKind()" + name: "getKind()" + nameWithType: "Viviparous.getKind()" + summary: "Get kind from Viviparous." + syntax: "public abstract String getKind()" + returns: + type: "" +type: "method" +metadata: {} +package: "com.microsoft.samples.commentinheritance" diff --git a/src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.Viviparous.giveBirth.yml b/src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.Viviparous.giveBirth.yml new file mode 100644 index 0000000..e327bdf --- /dev/null +++ b/src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.Viviparous.giveBirth.yml @@ -0,0 +1,17 @@ +### YamlMime:JavaMember +uid: "com.microsoft.samples.commentinheritance.Viviparous.giveBirth*" +fullName: "com.microsoft.samples.commentinheritance.Viviparous.giveBirth" +name: "giveBirth" +nameWithType: "Viviparous.giveBirth" +members: +- uid: "com.microsoft.samples.commentinheritance.Viviparous.giveBirth(int)" + fullName: "com.microsoft.samples.commentinheritance.Viviparous.giveBirth(int numberOfOffspring)" + name: "giveBirth(int numberOfOffspring)" + nameWithType: "Viviparous.giveBirth(int numberOfOffspring)" + parameters: + - name: "numberOfOffspring" + type: "" + syntax: "public abstract void giveBirth(int numberOfOffspring)" +type: "method" +metadata: {} +package: "com.microsoft.samples.commentinheritance" diff --git a/src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.Viviparous.yml b/src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.Viviparous.yml index d56df7c..3f35b82 100644 --- a/src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.Viviparous.yml +++ b/src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.Viviparous.yml @@ -1,71 +1,13 @@ -### YamlMime:ManagedReference -items: -- uid: "com.microsoft.samples.commentinheritance.Viviparous" - id: "Viviparous" - parent: "com.microsoft.samples.commentinheritance" - children: - - "com.microsoft.samples.commentinheritance.Viviparous.getKind()" - - "com.microsoft.samples.commentinheritance.Viviparous.giveBirth(int)" - langs: - - "java" - name: "Viviparous" - nameWithType: "Viviparous" - fullName: "com.microsoft.samples.commentinheritance.Viviparous" - type: "Interface" - package: "com.microsoft.samples.commentinheritance" - summary: "Mammals that give birth to young that develop within the mother's body." - syntax: - content: "public interface Viviparous" -- uid: "com.microsoft.samples.commentinheritance.Viviparous.getKind()" - id: "getKind()" - parent: "com.microsoft.samples.commentinheritance.Viviparous" - langs: - - "java" - name: "getKind()" - nameWithType: "Viviparous.getKind()" - fullName: "com.microsoft.samples.commentinheritance.Viviparous.getKind()" - overload: "com.microsoft.samples.commentinheritance.Viviparous.getKind*" - type: "Method" - package: "com.microsoft.samples.commentinheritance" - summary: "Get kind from Viviparous." - syntax: - content: "public abstract String getKind()" - return: - type: "java.lang.String" -- uid: "com.microsoft.samples.commentinheritance.Viviparous.giveBirth(int)" - id: "giveBirth(int)" - parent: "com.microsoft.samples.commentinheritance.Viviparous" - langs: - - "java" - name: "giveBirth(int numberOfOffspring)" - nameWithType: "Viviparous.giveBirth(int numberOfOffspring)" - fullName: "com.microsoft.samples.commentinheritance.Viviparous.giveBirth(int numberOfOffspring)" - overload: "com.microsoft.samples.commentinheritance.Viviparous.giveBirth*" - type: "Method" - package: "com.microsoft.samples.commentinheritance" - syntax: - content: "public abstract void giveBirth(int numberOfOffspring)" - parameters: - - id: "numberOfOffspring" - type: "int" -references: -- uid: "int" - spec.java: - - uid: "int" - name: "int" - fullName: "int" -- uid: "com.microsoft.samples.commentinheritance.Viviparous.giveBirth*" - name: "giveBirth" - nameWithType: "Viviparous.giveBirth" - fullName: "com.microsoft.samples.commentinheritance.Viviparous.giveBirth" - package: "com.microsoft.samples.commentinheritance" -- uid: "java.lang.String" - spec.java: - - uid: "java.lang.String" - name: "String" - fullName: "java.lang.String" -- uid: "com.microsoft.samples.commentinheritance.Viviparous.getKind*" - name: "getKind" - nameWithType: "Viviparous.getKind" - fullName: "com.microsoft.samples.commentinheritance.Viviparous.getKind" - package: "com.microsoft.samples.commentinheritance" +### YamlMime:JavaType +uid: "com.microsoft.samples.commentinheritance.Viviparous" +fullName: "com.microsoft.samples.commentinheritance.Viviparous" +name: "Viviparous" +nameWithType: "Viviparous" +summary: "Mammals that give birth to young that develop within the mother's body." +syntax: "public interface Viviparous" +methods: +- "com.microsoft.samples.commentinheritance.Viviparous.getKind()" +- "com.microsoft.samples.commentinheritance.Viviparous.giveBirth(int)" +type: "interface" +metadata: {} +package: "com.microsoft.samples.commentinheritance" diff --git a/src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.yml b/src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.yml index 5842c9d..d9e231f 100644 --- a/src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.yml +++ b/src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.yml @@ -1,59 +1,17 @@ -### YamlMime:ManagedReference -items: -- uid: "com.microsoft.samples.commentinheritance" - id: "commentinheritance" - children: - - "com.microsoft.samples.commentinheritance.Animal" - - "com.microsoft.samples.commentinheritance.Carnivorous" - - "com.microsoft.samples.commentinheritance.Dog" - - "com.microsoft.samples.commentinheritance.Herbivorous" - - "com.microsoft.samples.commentinheritance.Herbivorous.Plant" - - "com.microsoft.samples.commentinheritance.Mammal" - - "com.microsoft.samples.commentinheritance.Omnivorous" - - "com.microsoft.samples.commentinheritance.Organism" - - "com.microsoft.samples.commentinheritance.Viviparous" - langs: - - "java" - name: "com.microsoft.samples.commentinheritance" - nameWithType: "com.microsoft.samples.commentinheritance" - fullName: "com.microsoft.samples.commentinheritance" - type: "Namespace" - syntax: - content: "package com.microsoft.samples.commentinheritance" -references: -- uid: "com.microsoft.samples.commentinheritance.Animal" - name: "Animal" - nameWithType: "Animal" - fullName: "com.microsoft.samples.commentinheritance.Animal" -- uid: "com.microsoft.samples.commentinheritance.Carnivorous" - name: "Carnivorous" - nameWithType: "Carnivorous" - fullName: "com.microsoft.samples.commentinheritance.Carnivorous" -- uid: "com.microsoft.samples.commentinheritance.Dog" - name: "Dog" - nameWithType: "Dog" - fullName: "com.microsoft.samples.commentinheritance.Dog" -- uid: "com.microsoft.samples.commentinheritance.Herbivorous" - name: "Herbivorous" - nameWithType: "Herbivorous" - fullName: "com.microsoft.samples.commentinheritance.Herbivorous" -- uid: "com.microsoft.samples.commentinheritance.Herbivorous.Plant" - name: "Herbivorous.Plant" - nameWithType: "Herbivorous.Plant" - fullName: "com.microsoft.samples.commentinheritance.Herbivorous.Plant" -- uid: "com.microsoft.samples.commentinheritance.Mammal" - name: "Mammal" - nameWithType: "Mammal" - fullName: "com.microsoft.samples.commentinheritance.Mammal" -- uid: "com.microsoft.samples.commentinheritance.Omnivorous" - name: "Omnivorous" - nameWithType: "Omnivorous" - fullName: "com.microsoft.samples.commentinheritance.Omnivorous" -- uid: "com.microsoft.samples.commentinheritance.Organism" - name: "Organism" - nameWithType: "Organism" - fullName: "com.microsoft.samples.commentinheritance.Organism" -- uid: "com.microsoft.samples.commentinheritance.Viviparous" - name: "Viviparous" - nameWithType: "Viviparous" - fullName: "com.microsoft.samples.commentinheritance.Viviparous" +### YamlMime:JavaPackage +uid: "com.microsoft.samples.commentinheritance" +fullName: "com.microsoft.samples.commentinheritance" +name: "com.microsoft.samples.commentinheritance" +classes: +- "com.microsoft.samples.commentinheritance.Animal" +- "com.microsoft.samples.commentinheritance.Dog" +- "com.microsoft.samples.commentinheritance.Herbivorous.Plant" +- "com.microsoft.samples.commentinheritance.Mammal" +interfaces: +- "com.microsoft.samples.commentinheritance.Carnivorous" +- "com.microsoft.samples.commentinheritance.Herbivorous" +- "com.microsoft.samples.commentinheritance.Omnivorous" +- "com.microsoft.samples.commentinheritance.Organism" +- "com.microsoft.samples.commentinheritance.Viviparous" +metadata: {} +package: "com.microsoft.samples.commentinheritance" diff --git a/src/test/resources/expected-generated-files/com.microsoft.samples.offers.Offer.Offer.yml b/src/test/resources/expected-generated-files/com.microsoft.samples.offers.Offer.Offer.yml new file mode 100644 index 0000000..e489836 --- /dev/null +++ b/src/test/resources/expected-generated-files/com.microsoft.samples.offers.Offer.Offer.yml @@ -0,0 +1,15 @@ +### YamlMime:JavaMember +uid: "com.microsoft.samples.offers.Offer.Offer*" +fullName: "com.microsoft.samples.offers.Offer.Offer" +name: "Offer" +nameWithType: "Offer.Offer" +members: +- uid: "com.microsoft.samples.offers.Offer.Offer()" + fullName: "com.microsoft.samples.offers.Offer.Offer()" + name: "Offer()" + nameWithType: "Offer.Offer()" + summary: "Initializes a new instance of the Offer class." + syntax: "public Offer()" +type: "constructor" +metadata: {} +package: "com.microsoft.samples.offers" diff --git a/src/test/resources/expected-generated-files/com.microsoft.samples.offers.Offer.getReselleeQualifications.yml b/src/test/resources/expected-generated-files/com.microsoft.samples.offers.Offer.getReselleeQualifications.yml new file mode 100644 index 0000000..f6420ec --- /dev/null +++ b/src/test/resources/expected-generated-files/com.microsoft.samples.offers.Offer.getReselleeQualifications.yml @@ -0,0 +1,16 @@ +### YamlMime:JavaMember +uid: "com.microsoft.samples.offers.Offer.getReselleeQualifications*" +fullName: "com.microsoft.samples.offers.Offer.getReselleeQualifications" +name: "getReselleeQualifications" +nameWithType: "Offer.getReselleeQualifications" +members: +- uid: "com.microsoft.samples.offers.Offer.getReselleeQualifications()" + fullName: "com.microsoft.samples.offers.Offer.getReselleeQualifications()" + name: "getReselleeQualifications()" + nameWithType: "Offer.getReselleeQualifications()" + syntax: "public String[] getReselleeQualifications()" + returns: + type: "[]" +type: "method" +metadata: {} +package: "com.microsoft.samples.offers" diff --git a/src/test/resources/expected-generated-files/com.microsoft.samples.offers.Offer.getResellerQualifications.yml b/src/test/resources/expected-generated-files/com.microsoft.samples.offers.Offer.getResellerQualifications.yml new file mode 100644 index 0000000..a384939 --- /dev/null +++ b/src/test/resources/expected-generated-files/com.microsoft.samples.offers.Offer.getResellerQualifications.yml @@ -0,0 +1,16 @@ +### YamlMime:JavaMember +uid: "com.microsoft.samples.offers.Offer.getResellerQualifications*" +fullName: "com.microsoft.samples.offers.Offer.getResellerQualifications" +name: "getResellerQualifications" +nameWithType: "Offer.getResellerQualifications" +members: +- uid: "com.microsoft.samples.offers.Offer.getResellerQualifications()" + fullName: "com.microsoft.samples.offers.Offer.getResellerQualifications()" + name: "getResellerQualifications()" + nameWithType: "Offer.getResellerQualifications()" + syntax: "public String[] getResellerQualifications()" + returns: + type: "[]" +type: "method" +metadata: {} +package: "com.microsoft.samples.offers" diff --git a/src/test/resources/expected-generated-files/com.microsoft.samples.offers.Offer.setReselleeQualifications.yml b/src/test/resources/expected-generated-files/com.microsoft.samples.offers.Offer.setReselleeQualifications.yml new file mode 100644 index 0000000..16ac563 --- /dev/null +++ b/src/test/resources/expected-generated-files/com.microsoft.samples.offers.Offer.setReselleeQualifications.yml @@ -0,0 +1,17 @@ +### YamlMime:JavaMember +uid: "com.microsoft.samples.offers.Offer.setReselleeQualifications*" +fullName: "com.microsoft.samples.offers.Offer.setReselleeQualifications" +name: "setReselleeQualifications" +nameWithType: "Offer.setReselleeQualifications" +members: +- uid: "com.microsoft.samples.offers.Offer.setReselleeQualifications(java.lang.String[])" + fullName: "com.microsoft.samples.offers.Offer.setReselleeQualifications(String[] value)" + name: "setReselleeQualifications(String[] value)" + nameWithType: "Offer.setReselleeQualifications(String[] value)" + parameters: + - name: "value" + type: "[]" + syntax: "public void setReselleeQualifications(String[] value)" +type: "method" +metadata: {} +package: "com.microsoft.samples.offers" diff --git a/src/test/resources/expected-generated-files/com.microsoft.samples.offers.Offer.setResellerQualifications.yml b/src/test/resources/expected-generated-files/com.microsoft.samples.offers.Offer.setResellerQualifications.yml new file mode 100644 index 0000000..026abde --- /dev/null +++ b/src/test/resources/expected-generated-files/com.microsoft.samples.offers.Offer.setResellerQualifications.yml @@ -0,0 +1,17 @@ +### YamlMime:JavaMember +uid: "com.microsoft.samples.offers.Offer.setResellerQualifications*" +fullName: "com.microsoft.samples.offers.Offer.setResellerQualifications" +name: "setResellerQualifications" +nameWithType: "Offer.setResellerQualifications" +members: +- uid: "com.microsoft.samples.offers.Offer.setResellerQualifications(java.lang.String[])" + fullName: "com.microsoft.samples.offers.Offer.setResellerQualifications(String[] value)" + name: "setResellerQualifications(String[] value)" + nameWithType: "Offer.setResellerQualifications(String[] value)" + parameters: + - name: "value" + type: "[]" + syntax: "public void setResellerQualifications(String[] value)" +type: "method" +metadata: {} +package: "com.microsoft.samples.offers" diff --git a/src/test/resources/expected-generated-files/com.microsoft.samples.offers.Offer.yml b/src/test/resources/expected-generated-files/com.microsoft.samples.offers.Offer.yml index 674bafa..81c1cef 100644 --- a/src/test/resources/expected-generated-files/com.microsoft.samples.offers.Offer.yml +++ b/src/test/resources/expected-generated-files/com.microsoft.samples.offers.Offer.yml @@ -1,188 +1,31 @@ -### YamlMime:ManagedReference -items: -- uid: "com.microsoft.samples.offers.Offer" - id: "Offer" - parent: "com.microsoft.samples.offers" - children: - - "com.microsoft.samples.offers.Offer.Offer()" - - "com.microsoft.samples.offers.Offer.getReselleeQualifications()" - - "com.microsoft.samples.offers.Offer.getResellerQualifications()" - - "com.microsoft.samples.offers.Offer.setReselleeQualifications(java.lang.String[])" - - "com.microsoft.samples.offers.Offer.setResellerQualifications(java.lang.String[])" - langs: - - "java" - name: "Offer" - nameWithType: "Offer" - fullName: "com.microsoft.samples.offers.Offer" - type: "Class" - package: "com.microsoft.samples.offers" - summary: "Represents a form of product availability to customer" - syntax: - content: "public class Offer" - inheritance: - - "java.lang.Object" - inheritedMembers: - - "java.lang.Object.clone()" - - "java.lang.Object.equals(java.lang.Object)" - - "java.lang.Object.finalize()" - - "java.lang.Object.getClass()" - - "java.lang.Object.hashCode()" - - "java.lang.Object.notify()" - - "java.lang.Object.notifyAll()" - - "java.lang.Object.toString()" - - "java.lang.Object.wait()" - - "java.lang.Object.wait(long)" - - "java.lang.Object.wait(long,int)" -- uid: "com.microsoft.samples.offers.Offer.Offer()" - id: "Offer()" - parent: "com.microsoft.samples.offers.Offer" - langs: - - "java" - name: "Offer()" - nameWithType: "Offer.Offer()" - fullName: "com.microsoft.samples.offers.Offer.Offer()" - overload: "com.microsoft.samples.offers.Offer.Offer*" - type: "Constructor" - package: "com.microsoft.samples.offers" - summary: "Initializes a new instance of the Offer class." - syntax: - content: "public Offer()" -- uid: "com.microsoft.samples.offers.Offer.getReselleeQualifications()" - id: "getReselleeQualifications()" - parent: "com.microsoft.samples.offers.Offer" - langs: - - "java" - name: "getReselleeQualifications()" - nameWithType: "Offer.getReselleeQualifications()" - fullName: "com.microsoft.samples.offers.Offer.getReselleeQualifications()" - overload: "com.microsoft.samples.offers.Offer.getReselleeQualifications*" - type: "Method" - package: "com.microsoft.samples.offers" - syntax: - content: "public String[] getReselleeQualifications()" - return: - type: "java.lang.String[]" -- uid: "com.microsoft.samples.offers.Offer.getResellerQualifications()" - id: "getResellerQualifications()" - parent: "com.microsoft.samples.offers.Offer" - langs: - - "java" - name: "getResellerQualifications()" - nameWithType: "Offer.getResellerQualifications()" - fullName: "com.microsoft.samples.offers.Offer.getResellerQualifications()" - overload: "com.microsoft.samples.offers.Offer.getResellerQualifications*" - type: "Method" - package: "com.microsoft.samples.offers" - syntax: - content: "public String[] getResellerQualifications()" - return: - type: "java.lang.String[]" -- uid: "com.microsoft.samples.offers.Offer.setReselleeQualifications(java.lang.String[])" - id: "setReselleeQualifications(java.lang.String[])" - parent: "com.microsoft.samples.offers.Offer" - langs: - - "java" - name: "setReselleeQualifications(String[] value)" - nameWithType: "Offer.setReselleeQualifications(String[] value)" - fullName: "com.microsoft.samples.offers.Offer.setReselleeQualifications(String[] value)" - overload: "com.microsoft.samples.offers.Offer.setReselleeQualifications*" - type: "Method" - package: "com.microsoft.samples.offers" - syntax: - content: "public void setReselleeQualifications(String[] value)" - parameters: - - id: "value" - type: "java.lang.String[]" -- uid: "com.microsoft.samples.offers.Offer.setResellerQualifications(java.lang.String[])" - id: "setResellerQualifications(java.lang.String[])" - parent: "com.microsoft.samples.offers.Offer" - langs: - - "java" - name: "setResellerQualifications(String[] value)" - nameWithType: "Offer.setResellerQualifications(String[] value)" - fullName: "com.microsoft.samples.offers.Offer.setResellerQualifications(String[] value)" - overload: "com.microsoft.samples.offers.Offer.setResellerQualifications*" - type: "Method" - package: "com.microsoft.samples.offers" - syntax: - content: "public void setResellerQualifications(String[] value)" - parameters: - - id: "value" - type: "java.lang.String[]" -references: -- uid: "com.microsoft.samples.offers.Offer.Offer*" - name: "Offer" - nameWithType: "Offer.Offer" - fullName: "com.microsoft.samples.offers.Offer.Offer" - package: "com.microsoft.samples.offers" -- uid: "java.lang.String[]" - spec.java: - - uid: "java.lang.String" - name: "String" - fullName: "java.lang.String" - - name: "[]" - fullName: "[]" -- uid: "com.microsoft.samples.offers.Offer.getResellerQualifications*" - name: "getResellerQualifications" - nameWithType: "Offer.getResellerQualifications" - fullName: "com.microsoft.samples.offers.Offer.getResellerQualifications" - package: "com.microsoft.samples.offers" -- uid: "com.microsoft.samples.offers.Offer.setResellerQualifications*" - name: "setResellerQualifications" - nameWithType: "Offer.setResellerQualifications" - fullName: "com.microsoft.samples.offers.Offer.setResellerQualifications" - package: "com.microsoft.samples.offers" -- uid: "com.microsoft.samples.offers.Offer.getReselleeQualifications*" - name: "getReselleeQualifications" - nameWithType: "Offer.getReselleeQualifications" - fullName: "com.microsoft.samples.offers.Offer.getReselleeQualifications" - package: "com.microsoft.samples.offers" -- uid: "com.microsoft.samples.offers.Offer.setReselleeQualifications*" - name: "setReselleeQualifications" - nameWithType: "Offer.setReselleeQualifications" - fullName: "com.microsoft.samples.offers.Offer.setReselleeQualifications" - package: "com.microsoft.samples.offers" -- uid: "java.lang.Object.notify()" - name: "Object.notify()" - nameWithType: "Object.notify()" - fullName: "java.lang.Object.notify()" -- uid: "java.lang.Object.wait()" - name: "Object.wait()" - nameWithType: "Object.wait()" - fullName: "java.lang.Object.wait()" -- uid: "java.lang.Object.finalize()" - name: "Object.finalize()" - nameWithType: "Object.finalize()" - fullName: "java.lang.Object.finalize()" -- uid: "java.lang.Object.clone()" - name: "Object.clone()" - nameWithType: "Object.clone()" - fullName: "java.lang.Object.clone()" -- uid: "java.lang.Object.notifyAll()" - name: "Object.notifyAll()" - nameWithType: "Object.notifyAll()" - fullName: "java.lang.Object.notifyAll()" -- uid: "java.lang.Object.equals(java.lang.Object)" - name: "Object.equals(Object)" - nameWithType: "Object.equals(Object)" - fullName: "java.lang.Object.equals(java.lang.Object)" -- uid: "java.lang.Object.getClass()" - name: "Object.getClass()" - nameWithType: "Object.getClass()" - fullName: "java.lang.Object.getClass()" -- uid: "java.lang.Object.wait(long)" - name: "Object.wait(long)" - nameWithType: "Object.wait(long)" - fullName: "java.lang.Object.wait(long)" -- uid: "java.lang.Object.hashCode()" - name: "Object.hashCode()" - nameWithType: "Object.hashCode()" - fullName: "java.lang.Object.hashCode()" -- uid: "java.lang.Object.wait(long,int)" - name: "Object.wait(long,int)" - nameWithType: "Object.wait(long,int)" - fullName: "java.lang.Object.wait(long,int)" -- uid: "java.lang.Object.toString()" - name: "Object.toString()" - nameWithType: "Object.toString()" - fullName: "java.lang.Object.toString()" +### YamlMime:JavaType +uid: "com.microsoft.samples.offers.Offer" +fullName: "com.microsoft.samples.offers.Offer" +name: "Offer" +nameWithType: "Offer" +summary: "Represents a form of product availability to customer" +inheritances: +- "" +inheritedMembers: +- "java.lang.Object.clone()" +- "java.lang.Object.equals(java.lang.Object)" +- "java.lang.Object.finalize()" +- "java.lang.Object.getClass()" +- "java.lang.Object.hashCode()" +- "java.lang.Object.notify()" +- "java.lang.Object.notifyAll()" +- "java.lang.Object.toString()" +- "java.lang.Object.wait()" +- "java.lang.Object.wait(long)" +- "java.lang.Object.wait(long,int)" +syntax: "public class Offer" +constructors: +- "com.microsoft.samples.offers.Offer.Offer()" +methods: +- "com.microsoft.samples.offers.Offer.getReselleeQualifications()" +- "com.microsoft.samples.offers.Offer.getResellerQualifications()" +- "com.microsoft.samples.offers.Offer.setReselleeQualifications(java.lang.String[])" +- "com.microsoft.samples.offers.Offer.setResellerQualifications(java.lang.String[])" +type: "class" +metadata: {} +package: "com.microsoft.samples.offers" diff --git a/src/test/resources/expected-generated-files/com.microsoft.samples.offers.yml b/src/test/resources/expected-generated-files/com.microsoft.samples.offers.yml index d046aa5..61b6351 100644 --- a/src/test/resources/expected-generated-files/com.microsoft.samples.offers.yml +++ b/src/test/resources/expected-generated-files/com.microsoft.samples.offers.yml @@ -1,19 +1,8 @@ -### YamlMime:ManagedReference -items: -- uid: "com.microsoft.samples.offers" - id: "offers" - children: - - "com.microsoft.samples.offers.Offer" - langs: - - "java" - name: "com.microsoft.samples.offers" - nameWithType: "com.microsoft.samples.offers" - fullName: "com.microsoft.samples.offers" - type: "Namespace" - syntax: - content: "package com.microsoft.samples.offers" -references: -- uid: "com.microsoft.samples.offers.Offer" - name: "Offer" - nameWithType: "Offer" - fullName: "com.microsoft.samples.offers.Offer" +### YamlMime:JavaPackage +uid: "com.microsoft.samples.offers" +fullName: "com.microsoft.samples.offers" +name: "com.microsoft.samples.offers" +classes: +- "com.microsoft.samples.offers.Offer" +metadata: {} +package: "com.microsoft.samples.offers" diff --git a/src/test/resources/expected-generated-files/com.microsoft.samples.subpackage(package).yml b/src/test/resources/expected-generated-files/com.microsoft.samples.subpackage(package).yml index 89d9b4c..f4bfb74 100644 --- a/src/test/resources/expected-generated-files/com.microsoft.samples.subpackage(package).yml +++ b/src/test/resources/expected-generated-files/com.microsoft.samples.subpackage(package).yml @@ -1,45 +1,17 @@ -### YamlMime:ManagedReference -items: -- uid: "com.microsoft.samples.subpackage" - id: "subpackage" - children: - - "com.microsoft.samples.subpackage.CustomException" - - "com.microsoft.samples.subpackage.Display" - - "com.microsoft.samples.subpackage.Person" - - "com.microsoft.samples.subpackage.Person.IdentificationInfo" - - "com.microsoft.samples.subpackage.Person.IdentificationInfo.Gender" - - "com.microsoft.samples.subpackage.Tuple" - langs: - - "java" - name: "com.microsoft.samples.subpackage" - nameWithType: "com.microsoft.samples.subpackage" - fullName: "com.microsoft.samples.subpackage" - type: "Namespace" - summary: "This subpackage contains the sample set of classes for testing DocFx doclet." - syntax: - content: "package com.microsoft.samples.subpackage" -references: -- uid: "com.microsoft.samples.subpackage.CustomException" - name: "CustomException" - nameWithType: "CustomException" - fullName: "com.microsoft.samples.subpackage.CustomException" -- uid: "com.microsoft.samples.subpackage.Display" - name: "Display" - nameWithType: "Display" - fullName: "com.microsoft.samples.subpackage.Display" -- uid: "com.microsoft.samples.subpackage.Person" - name: "Person" - nameWithType: "Person" - fullName: "com.microsoft.samples.subpackage.Person" -- uid: "com.microsoft.samples.subpackage.Person.IdentificationInfo" - name: "Person.IdentificationInfo" - nameWithType: "Person.IdentificationInfo" - fullName: "com.microsoft.samples.subpackage.Person.IdentificationInfo" -- uid: "com.microsoft.samples.subpackage.Person.IdentificationInfo.Gender" - name: "Person.IdentificationInfo.Gender" - nameWithType: "Person.IdentificationInfo.Gender" - fullName: "com.microsoft.samples.subpackage.Person.IdentificationInfo.Gender" -- uid: "com.microsoft.samples.subpackage.Tuple" - name: "Tuple" - nameWithType: "Tuple" - fullName: "com.microsoft.samples.subpackage.Tuple" +### YamlMime:JavaPackage +uid: "com.microsoft.samples.subpackage" +fullName: "com.microsoft.samples.subpackage" +name: "com.microsoft.samples.subpackage" +summary: "This subpackage contains the sample set of classes for testing DocFx doclet." +classes: +- "com.microsoft.samples.subpackage.CustomException" +- "com.microsoft.samples.subpackage.HttpStatusCode" +- "com.microsoft.samples.subpackage.Person" +- "com.microsoft.samples.subpackage.Person.IdentificationInfo" +- "com.microsoft.samples.subpackage.Tuple" +enums: +- "com.microsoft.samples.subpackage.Person.IdentificationInfo.Gender" +interfaces: +- "com.microsoft.samples.subpackage.Display" +metadata: {} +package: "com.microsoft.samples.subpackage" diff --git a/src/test/resources/expected-generated-files/com.microsoft.samples.subpackage.CustomException.CustomException.yml b/src/test/resources/expected-generated-files/com.microsoft.samples.subpackage.CustomException.CustomException.yml new file mode 100644 index 0000000..84abeaa --- /dev/null +++ b/src/test/resources/expected-generated-files/com.microsoft.samples.subpackage.CustomException.CustomException.yml @@ -0,0 +1,17 @@ +### YamlMime:JavaMember +uid: "com.microsoft.samples.subpackage.CustomException.CustomException*" +fullName: "com.microsoft.samples.subpackage.CustomException.CustomException" +name: "CustomException" +nameWithType: "CustomException.CustomException" +members: +- uid: "com.microsoft.samples.subpackage.CustomException.CustomException(java.lang.String)" + fullName: "com.microsoft.samples.subpackage.CustomException.CustomException(String message)" + name: "CustomException(String message)" + nameWithType: "CustomException.CustomException(String message)" + parameters: + - name: "message" + type: "" + syntax: "public CustomException(String message)" +type: "constructor" +metadata: {} +package: "com.microsoft.samples.subpackage" diff --git a/src/test/resources/expected-generated-files/com.microsoft.samples.subpackage.CustomException.makeSomething.yml b/src/test/resources/expected-generated-files/com.microsoft.samples.subpackage.CustomException.makeSomething.yml new file mode 100644 index 0000000..5adf917 --- /dev/null +++ b/src/test/resources/expected-generated-files/com.microsoft.samples.subpackage.CustomException.makeSomething.yml @@ -0,0 +1,18 @@ +### YamlMime:JavaMember +uid: "com.microsoft.samples.subpackage.CustomException.makeSomething*" +fullName: "com.microsoft.samples.subpackage.CustomException.makeSomething" +name: "makeSomething" +nameWithType: "CustomException.makeSomething" +members: +- uid: "com.microsoft.samples.subpackage.CustomException.makeSomething()" + fullName: "com.microsoft.samples.subpackage.CustomException.makeSomething()" + name: "makeSomething()" + nameWithType: "CustomException.makeSomething()" + summary: "We need to have such method that throw exception declared in the same class" + syntax: "public void makeSomething()" + exceptions: + - description: "with reason message" + type: "" +type: "method" +metadata: {} +package: "com.microsoft.samples.subpackage" diff --git a/src/test/resources/expected-generated-files/com.microsoft.samples.subpackage.CustomException.yml b/src/test/resources/expected-generated-files/com.microsoft.samples.subpackage.CustomException.yml index c61889d..d3c13a2 100644 --- a/src/test/resources/expected-generated-files/com.microsoft.samples.subpackage.CustomException.yml +++ b/src/test/resources/expected-generated-files/com.microsoft.samples.subpackage.CustomException.yml @@ -1,190 +1,41 @@ -### YamlMime:ManagedReference -items: -- uid: "com.microsoft.samples.subpackage.CustomException" - id: "CustomException" - parent: "com.microsoft.samples.subpackage" - children: - - "com.microsoft.samples.subpackage.CustomException.CustomException(java.lang.String)" - - "com.microsoft.samples.subpackage.CustomException.makeSomething()" - langs: - - "java" - name: "CustomException" - nameWithType: "CustomException" - fullName: "com.microsoft.samples.subpackage.CustomException" - type: "Class" - package: "com.microsoft.samples.subpackage" - syntax: - content: "public class CustomException extends Exception" - inheritance: - - "java.lang.Object" - - "java.lang.Throwable" - - "java.lang.Exception" - inheritedMembers: - - "java.lang.Object.clone()" - - "java.lang.Object.equals(java.lang.Object)" - - "java.lang.Object.finalize()" - - "java.lang.Object.getClass()" - - "java.lang.Object.hashCode()" - - "java.lang.Object.notify()" - - "java.lang.Object.notifyAll()" - - "java.lang.Object.wait()" - - "java.lang.Object.wait(long)" - - "java.lang.Object.wait(long,int)" - - "java.lang.Throwable.addSuppressed(java.lang.Throwable)" - - "java.lang.Throwable.fillInStackTrace()" - - "java.lang.Throwable.getCause()" - - "java.lang.Throwable.getLocalizedMessage()" - - "java.lang.Throwable.getMessage()" - - "java.lang.Throwable.getStackTrace()" - - "java.lang.Throwable.getSuppressed()" - - "java.lang.Throwable.initCause(java.lang.Throwable)" - - "java.lang.Throwable.printStackTrace()" - - "java.lang.Throwable.printStackTrace(java.io.PrintStream)" - - "java.lang.Throwable.printStackTrace(java.io.PrintWriter)" - - "java.lang.Throwable.setStackTrace(java.lang.StackTraceElement[])" - - "java.lang.Throwable.toString()" -- uid: "com.microsoft.samples.subpackage.CustomException.CustomException(java.lang.String)" - id: "CustomException(java.lang.String)" - parent: "com.microsoft.samples.subpackage.CustomException" - langs: - - "java" - name: "CustomException(String message)" - nameWithType: "CustomException.CustomException(String message)" - fullName: "com.microsoft.samples.subpackage.CustomException.CustomException(String message)" - overload: "com.microsoft.samples.subpackage.CustomException.CustomException*" - type: "Constructor" - package: "com.microsoft.samples.subpackage" - syntax: - content: "public CustomException(String message)" - parameters: - - id: "message" - type: "java.lang.String" -- uid: "com.microsoft.samples.subpackage.CustomException.makeSomething()" - id: "makeSomething()" - parent: "com.microsoft.samples.subpackage.CustomException" - langs: - - "java" - name: "makeSomething()" - nameWithType: "CustomException.makeSomething()" - fullName: "com.microsoft.samples.subpackage.CustomException.makeSomething()" - overload: "com.microsoft.samples.subpackage.CustomException.makeSomething*" - type: "Method" - package: "com.microsoft.samples.subpackage" - summary: "We need to have such method that throw exception declared in the same class" - syntax: - content: "public void makeSomething()" - exceptions: - - type: "com.microsoft.samples.subpackage.CustomException" - description: "with reason message" -references: -- uid: "java.lang.String" - spec.java: - - uid: "java.lang.String" - name: "String" - fullName: "java.lang.String" -- uid: "com.microsoft.samples.subpackage.CustomException.CustomException*" - name: "CustomException" - nameWithType: "CustomException.CustomException" - fullName: "com.microsoft.samples.subpackage.CustomException.CustomException" - package: "com.microsoft.samples.subpackage" -- uid: "com.microsoft.samples.subpackage.CustomException.makeSomething*" - name: "makeSomething" - nameWithType: "CustomException.makeSomething" - fullName: "com.microsoft.samples.subpackage.CustomException.makeSomething" - package: "com.microsoft.samples.subpackage" -- uid: "java.lang.Exception" - name: "Exception" - nameWithType: "Exception" - fullName: "java.lang.Exception" -- uid: "java.lang.Object.notify()" - name: "Object.notify()" - nameWithType: "Object.notify()" - fullName: "java.lang.Object.notify()" -- uid: "java.lang.Object.wait()" - name: "Object.wait()" - nameWithType: "Object.wait()" - fullName: "java.lang.Object.wait()" -- uid: "java.lang.Throwable.printStackTrace(java.io.PrintWriter)" - name: "Throwable.printStackTrace(PrintWriter)" - nameWithType: "Throwable.printStackTrace(PrintWriter)" - fullName: "java.lang.Throwable.printStackTrace(java.io.PrintWriter)" -- uid: "java.lang.Throwable.getCause()" - name: "Throwable.getCause()" - nameWithType: "Throwable.getCause()" - fullName: "java.lang.Throwable.getCause()" -- uid: "java.lang.Object.finalize()" - name: "Object.finalize()" - nameWithType: "Object.finalize()" - fullName: "java.lang.Object.finalize()" -- uid: "java.lang.Throwable.addSuppressed(java.lang.Throwable)" - name: "Throwable.addSuppressed(Throwable)" - nameWithType: "Throwable.addSuppressed(Throwable)" - fullName: "java.lang.Throwable.addSuppressed(java.lang.Throwable)" -- uid: "java.lang.Throwable.fillInStackTrace()" - name: "Throwable.fillInStackTrace()" - nameWithType: "Throwable.fillInStackTrace()" - fullName: "java.lang.Throwable.fillInStackTrace()" -- uid: "java.lang.Object.notifyAll()" - name: "Object.notifyAll()" - nameWithType: "Object.notifyAll()" - fullName: "java.lang.Object.notifyAll()" -- uid: "java.lang.Object.clone()" - name: "Object.clone()" - nameWithType: "Object.clone()" - fullName: "java.lang.Object.clone()" -- uid: "java.lang.Throwable.initCause(java.lang.Throwable)" - name: "Throwable.initCause(Throwable)" - nameWithType: "Throwable.initCause(Throwable)" - fullName: "java.lang.Throwable.initCause(java.lang.Throwable)" -- uid: "java.lang.Object.equals(java.lang.Object)" - name: "Object.equals(Object)" - nameWithType: "Object.equals(Object)" - fullName: "java.lang.Object.equals(java.lang.Object)" -- uid: "java.lang.Throwable.setStackTrace(java.lang.StackTraceElement[])" - name: "Throwable.setStackTrace(StackTraceElement[])" - nameWithType: "Throwable.setStackTrace(StackTraceElement[])" - fullName: "java.lang.Throwable.setStackTrace(java.lang.StackTraceElement[])" -- uid: "java.lang.Throwable.toString()" - name: "Throwable.toString()" - nameWithType: "Throwable.toString()" - fullName: "java.lang.Throwable.toString()" -- uid: "java.lang.Throwable.printStackTrace(java.io.PrintStream)" - name: "Throwable.printStackTrace(PrintStream)" - nameWithType: "Throwable.printStackTrace(PrintStream)" - fullName: "java.lang.Throwable.printStackTrace(java.io.PrintStream)" -- uid: "java.lang.Throwable.getMessage()" - name: "Throwable.getMessage()" - nameWithType: "Throwable.getMessage()" - fullName: "java.lang.Throwable.getMessage()" -- uid: "java.lang.Throwable.getSuppressed()" - name: "Throwable.getSuppressed()" - nameWithType: "Throwable.getSuppressed()" - fullName: "java.lang.Throwable.getSuppressed()" -- uid: "java.lang.Object.getClass()" - name: "Object.getClass()" - nameWithType: "Object.getClass()" - fullName: "java.lang.Object.getClass()" -- uid: "java.lang.Object.wait(long)" - name: "Object.wait(long)" - nameWithType: "Object.wait(long)" - fullName: "java.lang.Object.wait(long)" -- uid: "java.lang.Object.hashCode()" - name: "Object.hashCode()" - nameWithType: "Object.hashCode()" - fullName: "java.lang.Object.hashCode()" -- uid: "java.lang.Throwable.getStackTrace()" - name: "Throwable.getStackTrace()" - nameWithType: "Throwable.getStackTrace()" - fullName: "java.lang.Throwable.getStackTrace()" -- uid: "java.lang.Object.wait(long,int)" - name: "Object.wait(long,int)" - nameWithType: "Object.wait(long,int)" - fullName: "java.lang.Object.wait(long,int)" -- uid: "java.lang.Throwable.getLocalizedMessage()" - name: "Throwable.getLocalizedMessage()" - nameWithType: "Throwable.getLocalizedMessage()" - fullName: "java.lang.Throwable.getLocalizedMessage()" -- uid: "java.lang.Throwable.printStackTrace()" - name: "Throwable.printStackTrace()" - nameWithType: "Throwable.printStackTrace()" - fullName: "java.lang.Throwable.printStackTrace()" +### YamlMime:JavaType +uid: "com.microsoft.samples.subpackage.CustomException" +fullName: "com.microsoft.samples.subpackage.CustomException" +name: "CustomException" +nameWithType: "CustomException" +inheritances: +- "" +- "" +- "" +inheritedMembers: +- "java.lang.Object.clone()" +- "java.lang.Object.equals(java.lang.Object)" +- "java.lang.Object.finalize()" +- "java.lang.Object.getClass()" +- "java.lang.Object.hashCode()" +- "java.lang.Object.notify()" +- "java.lang.Object.notifyAll()" +- "java.lang.Object.wait()" +- "java.lang.Object.wait(long)" +- "java.lang.Object.wait(long,int)" +- "java.lang.Throwable.addSuppressed(java.lang.Throwable)" +- "java.lang.Throwable.fillInStackTrace()" +- "java.lang.Throwable.getCause()" +- "java.lang.Throwable.getLocalizedMessage()" +- "java.lang.Throwable.getMessage()" +- "java.lang.Throwable.getStackTrace()" +- "java.lang.Throwable.getSuppressed()" +- "java.lang.Throwable.initCause(java.lang.Throwable)" +- "java.lang.Throwable.printStackTrace()" +- "java.lang.Throwable.printStackTrace(java.io.PrintStream)" +- "java.lang.Throwable.printStackTrace(java.io.PrintWriter)" +- "java.lang.Throwable.setStackTrace(java.lang.StackTraceElement[])" +- "java.lang.Throwable.toString()" +syntax: "public class CustomException extends Exception" +constructors: +- "com.microsoft.samples.subpackage.CustomException.CustomException(java.lang.String)" +methods: +- "com.microsoft.samples.subpackage.CustomException.makeSomething()" +type: "class" +metadata: {} +package: "com.microsoft.samples.subpackage" diff --git a/src/test/resources/expected-generated-files/com.microsoft.samples.subpackage.Display.hide.yml b/src/test/resources/expected-generated-files/com.microsoft.samples.subpackage.Display.hide.yml new file mode 100644 index 0000000..e26eb34 --- /dev/null +++ b/src/test/resources/expected-generated-files/com.microsoft.samples.subpackage.Display.hide.yml @@ -0,0 +1,14 @@ +### YamlMime:JavaMember +uid: "com.microsoft.samples.subpackage.Display.hide*" +fullName: "com.microsoft.samples.subpackage.Display.hide" +name: "hide" +nameWithType: "Display.hide" +members: +- uid: "com.microsoft.samples.subpackage.Display.hide()" + fullName: "com.microsoft.samples.subpackage.Display.hide()" + name: "hide()" + nameWithType: "Display.hide()" + syntax: "public abstract void hide()" +type: "method" +metadata: {} +package: "com.microsoft.samples.subpackage" diff --git a/src/test/resources/expected-generated-files/com.microsoft.samples.subpackage.Display.show.yml b/src/test/resources/expected-generated-files/com.microsoft.samples.subpackage.Display.show.yml new file mode 100644 index 0000000..da82b2c --- /dev/null +++ b/src/test/resources/expected-generated-files/com.microsoft.samples.subpackage.Display.show.yml @@ -0,0 +1,14 @@ +### YamlMime:JavaMember +uid: "com.microsoft.samples.subpackage.Display.show*" +fullName: "com.microsoft.samples.subpackage.Display.show" +name: "show" +nameWithType: "Display.show" +members: +- uid: "com.microsoft.samples.subpackage.Display.show()" + fullName: "com.microsoft.samples.subpackage.Display.show()" + name: "show()" + nameWithType: "Display.show()" + syntax: "public abstract void show()" +type: "method" +metadata: {} +package: "com.microsoft.samples.subpackage" diff --git a/src/test/resources/expected-generated-files/com.microsoft.samples.subpackage.Display.yml b/src/test/resources/expected-generated-files/com.microsoft.samples.subpackage.Display.yml index 138d799..55c93f2 100644 --- a/src/test/resources/expected-generated-files/com.microsoft.samples.subpackage.Display.yml +++ b/src/test/resources/expected-generated-files/com.microsoft.samples.subpackage.Display.yml @@ -1,85 +1,19 @@ -### YamlMime:ManagedReference -items: -- uid: "com.microsoft.samples.subpackage.Display" - id: "Display" - parent: "com.microsoft.samples.subpackage" - children: - - "com.microsoft.samples.subpackage.Display.hide()" - - "com.microsoft.samples.subpackage.Display.show()" - langs: - - "java" - name: "Display" - nameWithType: "Display" - fullName: "com.microsoft.samples.subpackage.Display" - type: "Interface" - package: "com.microsoft.samples.subpackage" - summary: "Do you see some `First` code block?\n\nOr this `Second` code block?" - syntax: - content: "public interface Display extends Serializable, List>" - typeParameters: - - id: "T" - - id: "R" - implements: - - "java.io.Serializable" - - "java.util.List>" -- uid: "com.microsoft.samples.subpackage.Display.hide()" - id: "hide()" - parent: "com.microsoft.samples.subpackage.Display" - langs: - - "java" - name: "hide()" - nameWithType: "Display.hide()" - fullName: "com.microsoft.samples.subpackage.Display.hide()" - overload: "com.microsoft.samples.subpackage.Display.hide*" - type: "Method" - package: "com.microsoft.samples.subpackage" - syntax: - content: "public abstract void hide()" -- uid: "com.microsoft.samples.subpackage.Display.show()" - id: "show()" - parent: "com.microsoft.samples.subpackage.Display" - langs: - - "java" - name: "show()" - nameWithType: "Display.show()" - fullName: "com.microsoft.samples.subpackage.Display.show()" - overload: "com.microsoft.samples.subpackage.Display.show*" - type: "Method" - package: "com.microsoft.samples.subpackage" - syntax: - content: "public abstract void show()" -references: -- uid: "com.microsoft.samples.subpackage.Display.show*" - name: "show" - nameWithType: "Display.show" - fullName: "com.microsoft.samples.subpackage.Display.show" - package: "com.microsoft.samples.subpackage" -- uid: "com.microsoft.samples.subpackage.Display.hide*" - name: "hide" - nameWithType: "Display.hide" - fullName: "com.microsoft.samples.subpackage.Display.hide" - package: "com.microsoft.samples.subpackage" -- uid: "T" - name: "T" - nameWithType: "T" - fullName: "T" -- uid: "R" - name: "R" - nameWithType: "R" - fullName: "R" -- uid: "java.util.List>" - name: "List>" - nameWithType: "List>" - fullName: "java.util.List>" -- uid: "java.io.Serializable" - name: "Serializable" - nameWithType: "Serializable" - fullName: "java.io.Serializable" -- uid: "java.util.List" - name: "List" - nameWithType: "List" - fullName: "java.util.List" -- uid: "com.microsoft.samples.subpackage.Person" - name: "Person" - nameWithType: "Person" - fullName: "com.microsoft.samples.subpackage.Person" +### YamlMime:JavaType +uid: "com.microsoft.samples.subpackage.Display" +fullName: "com.microsoft.samples.subpackage.Display" +name: "Display" +nameWithType: "Display" +summary: "Do you see some `First` code block?\n\nOr this `Second` code block?" +syntax: "public interface Display extends Serializable, List>" +methods: +- "com.microsoft.samples.subpackage.Display.hide()" +- "com.microsoft.samples.subpackage.Display.show()" +type: "interface" +typeParameters: +- name: "T" +- name: "R" +implements: +- "" +- "<<>>" +metadata: {} +package: "com.microsoft.samples.subpackage" diff --git a/src/test/resources/expected-generated-files/com.microsoft.samples.subpackage.HttpStatusCode.BADREQUEST.yml b/src/test/resources/expected-generated-files/com.microsoft.samples.subpackage.HttpStatusCode.BADREQUEST.yml new file mode 100644 index 0000000..2bc33a2 --- /dev/null +++ b/src/test/resources/expected-generated-files/com.microsoft.samples.subpackage.HttpStatusCode.BADREQUEST.yml @@ -0,0 +1,14 @@ +### YamlMime:JavaMember +uid: "com.microsoft.samples.subpackage.HttpStatusCode.BADREQUEST" +fullName: "com.microsoft.samples.subpackage.HttpStatusCode.BADREQUEST" +name: "BADREQUEST" +nameWithType: "HttpStatusCode.BADREQUEST" +members: +- uid: "com.microsoft.samples.subpackage.HttpStatusCode.BADREQUEST" + fullName: "com.microsoft.samples.subpackage.HttpStatusCode.BADREQUEST" + name: "BADREQUEST" + nameWithType: "HttpStatusCode.BADREQUEST" + syntax: "public static final int BADREQUEST" +type: "field" +metadata: {} +package: "com.microsoft.samples.subpackage" diff --git a/src/test/resources/expected-generated-files/com.microsoft.samples.subpackage.HttpStatusCode.CONFLICT.yml b/src/test/resources/expected-generated-files/com.microsoft.samples.subpackage.HttpStatusCode.CONFLICT.yml new file mode 100644 index 0000000..4d3908b --- /dev/null +++ b/src/test/resources/expected-generated-files/com.microsoft.samples.subpackage.HttpStatusCode.CONFLICT.yml @@ -0,0 +1,14 @@ +### YamlMime:JavaMember +uid: "com.microsoft.samples.subpackage.HttpStatusCode.CONFLICT" +fullName: "com.microsoft.samples.subpackage.HttpStatusCode.CONFLICT" +name: "CONFLICT" +nameWithType: "HttpStatusCode.CONFLICT" +members: +- uid: "com.microsoft.samples.subpackage.HttpStatusCode.CONFLICT" + fullName: "com.microsoft.samples.subpackage.HttpStatusCode.CONFLICT" + name: "CONFLICT" + nameWithType: "HttpStatusCode.CONFLICT" + syntax: "public static final int CONFLICT" +type: "field" +metadata: {} +package: "com.microsoft.samples.subpackage" diff --git a/src/test/resources/expected-generated-files/com.microsoft.samples.subpackage.HttpStatusCode.EXPECTATIONFAILED.yml b/src/test/resources/expected-generated-files/com.microsoft.samples.subpackage.HttpStatusCode.EXPECTATIONFAILED.yml new file mode 100644 index 0000000..48e36ed --- /dev/null +++ b/src/test/resources/expected-generated-files/com.microsoft.samples.subpackage.HttpStatusCode.EXPECTATIONFAILED.yml @@ -0,0 +1,14 @@ +### YamlMime:JavaMember +uid: "com.microsoft.samples.subpackage.HttpStatusCode.EXPECTATIONFAILED" +fullName: "com.microsoft.samples.subpackage.HttpStatusCode.EXPECTATIONFAILED" +name: "EXPECTATIONFAILED" +nameWithType: "HttpStatusCode.EXPECTATIONFAILED" +members: +- uid: "com.microsoft.samples.subpackage.HttpStatusCode.EXPECTATIONFAILED" + fullName: "com.microsoft.samples.subpackage.HttpStatusCode.EXPECTATIONFAILED" + name: "EXPECTATIONFAILED" + nameWithType: "HttpStatusCode.EXPECTATIONFAILED" + syntax: "public static final int EXPECTATIONFAILED" +type: "field" +metadata: {} +package: "com.microsoft.samples.subpackage" diff --git a/src/test/resources/expected-generated-files/com.microsoft.samples.subpackage.HttpStatusCode.FORBIDDEN.yml b/src/test/resources/expected-generated-files/com.microsoft.samples.subpackage.HttpStatusCode.FORBIDDEN.yml new file mode 100644 index 0000000..b70a6e7 --- /dev/null +++ b/src/test/resources/expected-generated-files/com.microsoft.samples.subpackage.HttpStatusCode.FORBIDDEN.yml @@ -0,0 +1,14 @@ +### YamlMime:JavaMember +uid: "com.microsoft.samples.subpackage.HttpStatusCode.FORBIDDEN" +fullName: "com.microsoft.samples.subpackage.HttpStatusCode.FORBIDDEN" +name: "FORBIDDEN" +nameWithType: "HttpStatusCode.FORBIDDEN" +members: +- uid: "com.microsoft.samples.subpackage.HttpStatusCode.FORBIDDEN" + fullName: "com.microsoft.samples.subpackage.HttpStatusCode.FORBIDDEN" + name: "FORBIDDEN" + nameWithType: "HttpStatusCode.FORBIDDEN" + syntax: "public static final int FORBIDDEN" +type: "field" +metadata: {} +package: "com.microsoft.samples.subpackage" diff --git a/src/test/resources/expected-generated-files/com.microsoft.samples.subpackage.HttpStatusCode.HttpStatusCode.yml b/src/test/resources/expected-generated-files/com.microsoft.samples.subpackage.HttpStatusCode.HttpStatusCode.yml new file mode 100644 index 0000000..c9dde31 --- /dev/null +++ b/src/test/resources/expected-generated-files/com.microsoft.samples.subpackage.HttpStatusCode.HttpStatusCode.yml @@ -0,0 +1,14 @@ +### YamlMime:JavaMember +uid: "com.microsoft.samples.subpackage.HttpStatusCode.HttpStatusCode*" +fullName: "com.microsoft.samples.subpackage.HttpStatusCode.HttpStatusCode" +name: "HttpStatusCode" +nameWithType: "HttpStatusCode.HttpStatusCode" +members: +- uid: "com.microsoft.samples.subpackage.HttpStatusCode.HttpStatusCode()" + fullName: "com.microsoft.samples.subpackage.HttpStatusCode.HttpStatusCode()" + name: "HttpStatusCode()" + nameWithType: "HttpStatusCode.HttpStatusCode()" + syntax: "public HttpStatusCode()" +type: "constructor" +metadata: {} +package: "com.microsoft.samples.subpackage" diff --git a/src/test/resources/expected-generated-files/com.microsoft.samples.subpackage.HttpStatusCode.NOTFOUND.yml b/src/test/resources/expected-generated-files/com.microsoft.samples.subpackage.HttpStatusCode.NOTFOUND.yml new file mode 100644 index 0000000..973480c --- /dev/null +++ b/src/test/resources/expected-generated-files/com.microsoft.samples.subpackage.HttpStatusCode.NOTFOUND.yml @@ -0,0 +1,14 @@ +### YamlMime:JavaMember +uid: "com.microsoft.samples.subpackage.HttpStatusCode.NOTFOUND" +fullName: "com.microsoft.samples.subpackage.HttpStatusCode.NOTFOUND" +name: "NOTFOUND" +nameWithType: "HttpStatusCode.NOTFOUND" +members: +- uid: "com.microsoft.samples.subpackage.HttpStatusCode.NOTFOUND" + fullName: "com.microsoft.samples.subpackage.HttpStatusCode.NOTFOUND" + name: "NOTFOUND" + nameWithType: "HttpStatusCode.NOTFOUND" + syntax: "public static final int NOTFOUND" +type: "field" +metadata: {} +package: "com.microsoft.samples.subpackage" diff --git a/src/test/resources/expected-generated-files/com.microsoft.samples.subpackage.HttpStatusCode.SERVICEUNAVAILABLE.yml b/src/test/resources/expected-generated-files/com.microsoft.samples.subpackage.HttpStatusCode.SERVICEUNAVAILABLE.yml new file mode 100644 index 0000000..04a80e5 --- /dev/null +++ b/src/test/resources/expected-generated-files/com.microsoft.samples.subpackage.HttpStatusCode.SERVICEUNAVAILABLE.yml @@ -0,0 +1,14 @@ +### YamlMime:JavaMember +uid: "com.microsoft.samples.subpackage.HttpStatusCode.SERVICEUNAVAILABLE" +fullName: "com.microsoft.samples.subpackage.HttpStatusCode.SERVICEUNAVAILABLE" +name: "SERVICEUNAVAILABLE" +nameWithType: "HttpStatusCode.SERVICEUNAVAILABLE" +members: +- uid: "com.microsoft.samples.subpackage.HttpStatusCode.SERVICEUNAVAILABLE" + fullName: "com.microsoft.samples.subpackage.HttpStatusCode.SERVICEUNAVAILABLE" + name: "SERVICEUNAVAILABLE" + nameWithType: "HttpStatusCode.SERVICEUNAVAILABLE" + syntax: "public static final int SERVICEUNAVAILABLE" +type: "field" +metadata: {} +package: "com.microsoft.samples.subpackage" diff --git a/src/test/resources/expected-generated-files/com.microsoft.samples.subpackage.HttpStatusCode.UNAUTHORIZED.yml b/src/test/resources/expected-generated-files/com.microsoft.samples.subpackage.HttpStatusCode.UNAUTHORIZED.yml new file mode 100644 index 0000000..c8c9294 --- /dev/null +++ b/src/test/resources/expected-generated-files/com.microsoft.samples.subpackage.HttpStatusCode.UNAUTHORIZED.yml @@ -0,0 +1,14 @@ +### YamlMime:JavaMember +uid: "com.microsoft.samples.subpackage.HttpStatusCode.UNAUTHORIZED" +fullName: "com.microsoft.samples.subpackage.HttpStatusCode.UNAUTHORIZED" +name: "UNAUTHORIZED" +nameWithType: "HttpStatusCode.UNAUTHORIZED" +members: +- uid: "com.microsoft.samples.subpackage.HttpStatusCode.UNAUTHORIZED" + fullName: "com.microsoft.samples.subpackage.HttpStatusCode.UNAUTHORIZED" + name: "UNAUTHORIZED" + nameWithType: "HttpStatusCode.UNAUTHORIZED" + syntax: "public static final int UNAUTHORIZED" +type: "field" +metadata: {} +package: "com.microsoft.samples.subpackage" diff --git a/src/test/resources/expected-generated-files/com.microsoft.samples.subpackage.HttpStatusCode.yml b/src/test/resources/expected-generated-files/com.microsoft.samples.subpackage.HttpStatusCode.yml new file mode 100644 index 0000000..b77b833 --- /dev/null +++ b/src/test/resources/expected-generated-files/com.microsoft.samples.subpackage.HttpStatusCode.yml @@ -0,0 +1,33 @@ +### YamlMime:JavaType +uid: "com.microsoft.samples.subpackage.HttpStatusCode" +fullName: "com.microsoft.samples.subpackage.HttpStatusCode" +name: "HttpStatusCode" +nameWithType: "HttpStatusCode" +inheritances: +- "" +inheritedMembers: +- "java.lang.Object.clone()" +- "java.lang.Object.equals(java.lang.Object)" +- "java.lang.Object.finalize()" +- "java.lang.Object.getClass()" +- "java.lang.Object.hashCode()" +- "java.lang.Object.notify()" +- "java.lang.Object.notifyAll()" +- "java.lang.Object.toString()" +- "java.lang.Object.wait()" +- "java.lang.Object.wait(long)" +- "java.lang.Object.wait(long,int)" +syntax: "public class HttpStatusCode" +constructors: +- "com.microsoft.samples.subpackage.HttpStatusCode.HttpStatusCode()" +fields: +- "com.microsoft.samples.subpackage.HttpStatusCode.BADREQUEST" +- "com.microsoft.samples.subpackage.HttpStatusCode.CONFLICT" +- "com.microsoft.samples.subpackage.HttpStatusCode.EXPECTATIONFAILED" +- "com.microsoft.samples.subpackage.HttpStatusCode.FORBIDDEN" +- "com.microsoft.samples.subpackage.HttpStatusCode.NOTFOUND" +- "com.microsoft.samples.subpackage.HttpStatusCode.SERVICEUNAVAILABLE" +- "com.microsoft.samples.subpackage.HttpStatusCode.UNAUTHORIZED" +type: "class" +metadata: {} +package: "com.microsoft.samples.subpackage" diff --git a/src/test/resources/expected-generated-files/com.microsoft.samples.subpackage.Person.IdentificationInfo.Gender.yml b/src/test/resources/expected-generated-files/com.microsoft.samples.subpackage.Person.IdentificationInfo.Gender.yml index 38b17dc..e22d571 100644 --- a/src/test/resources/expected-generated-files/com.microsoft.samples.subpackage.Person.IdentificationInfo.Gender.yml +++ b/src/test/resources/expected-generated-files/com.microsoft.samples.subpackage.Person.IdentificationInfo.Gender.yml @@ -1,226 +1,56 @@ -### YamlMime:ManagedReference -items: -- uid: "com.microsoft.samples.subpackage.Person.IdentificationInfo.Gender" - id: "Gender" - parent: "com.microsoft.samples.subpackage" - children: - - "com.microsoft.samples.subpackage.Person.IdentificationInfo.Gender.FEMALE" - - "com.microsoft.samples.subpackage.Person.IdentificationInfo.Gender.MALE" - - "com.microsoft.samples.subpackage.Person.IdentificationInfo.Gender.valueOf(java.lang.String)" - - "com.microsoft.samples.subpackage.Person.IdentificationInfo.Gender.values()" - langs: - - "java" - name: "Person.IdentificationInfo.Gender" - nameWithType: "Person.IdentificationInfo.Gender" - fullName: "com.microsoft.samples.subpackage.Person.IdentificationInfo.Gender" - type: "Enum" - package: "com.microsoft.samples.subpackage" - summary: "Enum describes person's gender" - syntax: - content: "public enum Person.IdentificationInfo.Gender extends Enum" - inheritance: - - "java.lang.Object" - - "java.lang.Enum" - inheritedMembers: - - "java.lang.Enum.valueOf(java.lang.Class,java.lang.String)" - - "java.lang.Enum.clone()" - - "java.lang.Enum.compareTo(E)" - - "java.lang.Enum.equals(java.lang.Object)" - - "java.lang.Enum.finalize()" - - "java.lang.Enum.getDeclaringClass()" - - "java.lang.Enum.hashCode()" - - "java.lang.Enum.name()" - - "java.lang.Enum.ordinal()" - - "java.lang.Enum.toString()" - - "java.lang.Object.getClass()" - - "java.lang.Object.notify()" - - "java.lang.Object.notifyAll()" - - "java.lang.Object.wait()" - - "java.lang.Object.wait(long)" - - "java.lang.Object.wait(long,int)" +### YamlMime:JavaEnum +uid: "com.microsoft.samples.subpackage.Person.IdentificationInfo.Gender" +fullName: "com.microsoft.samples.subpackage.Person.IdentificationInfo.Gender" +name: "Person.IdentificationInfo.Gender" +nameWithType: "Person.IdentificationInfo.Gender" +summary: "Enum describes person's gender" +inheritances: +- "" +- "" +inheritedMembers: +- "java.lang.Enum.valueOf(java.lang.Class,java.lang.String)" +- "java.lang.Enum.clone()" +- "java.lang.Enum.compareTo(E)" +- "java.lang.Enum.equals(java.lang.Object)" +- "java.lang.Enum.finalize()" +- "java.lang.Enum.getDeclaringClass()" +- "java.lang.Enum.hashCode()" +- "java.lang.Enum.name()" +- "java.lang.Enum.ordinal()" +- "java.lang.Enum.toString()" +- "java.lang.Object.getClass()" +- "java.lang.Object.notify()" +- "java.lang.Object.notifyAll()" +- "java.lang.Object.wait()" +- "java.lang.Object.wait(long)" +- "java.lang.Object.wait(long,int)" +syntax: "public enum Person.IdentificationInfo.Gender extends Enum" +fields: - uid: "com.microsoft.samples.subpackage.Person.IdentificationInfo.Gender.FEMALE" - id: "FEMALE" - parent: "com.microsoft.samples.subpackage.Person.IdentificationInfo.Gender" - langs: - - "java" + fullName: "com.microsoft.samples.subpackage.Person.IdentificationInfo.Gender.FEMALE" name: "FEMALE" nameWithType: "Person.IdentificationInfo.Gender.FEMALE" - fullName: "com.microsoft.samples.subpackage.Person.IdentificationInfo.Gender.FEMALE" - type: "Field" - package: "com.microsoft.samples.subpackage" - syntax: - content: "public static final Person.IdentificationInfo.Gender FEMALE" - return: - type: "com.microsoft.samples.subpackage.Person.IdentificationInfo.Gender" -- uid: "com.microsoft.samples.subpackage.Person.IdentificationInfo.Gender.Gender()" - id: "Gender()" - parent: "com.microsoft.samples.subpackage.Person.IdentificationInfo.Gender" - langs: - - "java" - name: "Gender()" - nameWithType: "Person.IdentificationInfo.Gender.Gender()" - fullName: "com.microsoft.samples.subpackage.Person.IdentificationInfo.Gender.Gender()" - overload: "com.microsoft.samples.subpackage.Person.IdentificationInfo.Gender.Gender*" - type: "Constructor" - package: "com.microsoft.samples.subpackage" - syntax: - content: "private Gender()" - uid: "com.microsoft.samples.subpackage.Person.IdentificationInfo.Gender.MALE" - id: "MALE" - parent: "com.microsoft.samples.subpackage.Person.IdentificationInfo.Gender" - langs: - - "java" + fullName: "com.microsoft.samples.subpackage.Person.IdentificationInfo.Gender.MALE" name: "MALE" nameWithType: "Person.IdentificationInfo.Gender.MALE" - fullName: "com.microsoft.samples.subpackage.Person.IdentificationInfo.Gender.MALE" - type: "Field" - package: "com.microsoft.samples.subpackage" - syntax: - content: "public static final Person.IdentificationInfo.Gender MALE" - return: - type: "com.microsoft.samples.subpackage.Person.IdentificationInfo.Gender" +methods: - uid: "com.microsoft.samples.subpackage.Person.IdentificationInfo.Gender.valueOf(java.lang.String)" - id: "valueOf(java.lang.String)" - parent: "com.microsoft.samples.subpackage.Person.IdentificationInfo.Gender" - langs: - - "java" + fullName: "com.microsoft.samples.subpackage.Person.IdentificationInfo.Gender.valueOf(String name)" name: "valueOf(String name)" nameWithType: "Person.IdentificationInfo.Gender.valueOf(String name)" - fullName: "com.microsoft.samples.subpackage.Person.IdentificationInfo.Gender.valueOf(String name)" - overload: "com.microsoft.samples.subpackage.Person.IdentificationInfo.Gender.valueOf*" - type: "Method" - package: "com.microsoft.samples.subpackage" - syntax: - content: "public static Person.IdentificationInfo.Gender valueOf(String name)" - parameters: - - id: "name" - type: "java.lang.String" - return: - type: "com.microsoft.samples.subpackage.Person.IdentificationInfo.Gender" + parameters: + - name: "name" + type: "" + syntax: "public static Person.IdentificationInfo.Gender valueOf(String name)" + returns: + type: "" - uid: "com.microsoft.samples.subpackage.Person.IdentificationInfo.Gender.values()" - id: "values()" - parent: "com.microsoft.samples.subpackage.Person.IdentificationInfo.Gender" - langs: - - "java" + fullName: "com.microsoft.samples.subpackage.Person.IdentificationInfo.Gender.values()" name: "values()" nameWithType: "Person.IdentificationInfo.Gender.values()" - fullName: "com.microsoft.samples.subpackage.Person.IdentificationInfo.Gender.values()" - overload: "com.microsoft.samples.subpackage.Person.IdentificationInfo.Gender.values*" - type: "Method" - package: "com.microsoft.samples.subpackage" - syntax: - content: "public static Person.IdentificationInfo.Gender[] values()" - return: - type: "com.microsoft.samples.subpackage.Person.IdentificationInfo.Gender[]" -references: -- uid: "com.microsoft.samples.subpackage.Person.IdentificationInfo.Gender.Gender*" - name: "Gender" - nameWithType: "Person.IdentificationInfo.Gender.Gender" - fullName: "com.microsoft.samples.subpackage.Person.IdentificationInfo.Gender.Gender" - package: "com.microsoft.samples.subpackage" -- uid: "com.microsoft.samples.subpackage.Person.IdentificationInfo.Gender[]" - spec.java: - - uid: "com.microsoft.samples.subpackage.Person.IdentificationInfo.Gender" - name: "Gender" - fullName: "com.microsoft.samples.subpackage.Person.IdentificationInfo.Gender" - - name: "[]" - fullName: "[]" -- uid: "com.microsoft.samples.subpackage.Person.IdentificationInfo.Gender.values*" - name: "values" - nameWithType: "Person.IdentificationInfo.Gender.values" - fullName: "com.microsoft.samples.subpackage.Person.IdentificationInfo.Gender.values" - package: "com.microsoft.samples.subpackage" -- uid: "java.lang.String" - spec.java: - - uid: "java.lang.String" - name: "String" - fullName: "java.lang.String" -- uid: "com.microsoft.samples.subpackage.Person.IdentificationInfo.Gender.valueOf*" - name: "valueOf" - nameWithType: "Person.IdentificationInfo.Gender.valueOf" - fullName: "com.microsoft.samples.subpackage.Person.IdentificationInfo.Gender.valueOf" - package: "com.microsoft.samples.subpackage" -- uid: "java.lang.Enum" - name: "Enum" - nameWithType: "Enum" - fullName: "java.lang.Enum" -- uid: "java.lang.Object.notify()" - name: "Object.notify()" - nameWithType: "Object.notify()" - fullName: "java.lang.Object.notify()" -- uid: "java.lang.Enum.toString()" - name: "Enum.toString()" - nameWithType: "Enum.toString()" - fullName: "java.lang.Enum.toString()" -- uid: "java.lang.Object.wait()" - name: "Object.wait()" - nameWithType: "Object.wait()" - fullName: "java.lang.Object.wait()" -- uid: "java.lang.Enum.clone()" - name: "Enum.clone()" - nameWithType: "Enum.clone()" - fullName: "java.lang.Enum.clone()" -- uid: "java.lang.Enum.finalize()" - name: "Enum.finalize()" - nameWithType: "Enum.finalize()" - fullName: "java.lang.Enum.finalize()" -- uid: "java.lang.Object.notifyAll()" - name: "Object.notifyAll()" - nameWithType: "Object.notifyAll()" - fullName: "java.lang.Object.notifyAll()" -- uid: "java.lang.Enum.compareTo(E)" - name: "Enum.compareTo(E)" - nameWithType: "Enum.compareTo(E)" - fullName: "java.lang.Enum.compareTo(E)" -- uid: "java.lang.Enum.name()" - name: "Enum.name()" - nameWithType: "Enum.name()" - fullName: "java.lang.Enum.name()" -- uid: "java.lang.Enum.valueOf(java.lang.Class,java.lang.String)" - name: "Enum.valueOf(Class,String)" - nameWithType: "Enum.valueOf(Class,String)" - fullName: "java.lang.Enum.valueOf(java.lang.Class,java.lang.String)" -- uid: "java.lang.Object.getClass()" - name: "Object.getClass()" - nameWithType: "Object.getClass()" - fullName: "java.lang.Object.getClass()" -- uid: "java.lang.Enum.getDeclaringClass()" - name: "Enum.getDeclaringClass()" - nameWithType: "Enum.getDeclaringClass()" - fullName: "java.lang.Enum.getDeclaringClass()" -- uid: "java.lang.Object.wait(long)" - name: "Object.wait(long)" - nameWithType: "Object.wait(long)" - fullName: "java.lang.Object.wait(long)" -- uid: "java.lang.Enum.ordinal()" - name: "Enum.ordinal()" - nameWithType: "Enum.ordinal()" - fullName: "java.lang.Enum.ordinal()" -- uid: "java.lang.Enum.hashCode()" - name: "Enum.hashCode()" - nameWithType: "Enum.hashCode()" - fullName: "java.lang.Enum.hashCode()" -- uid: "java.lang.Object.wait(long,int)" - name: "Object.wait(long,int)" - nameWithType: "Object.wait(long,int)" - fullName: "java.lang.Object.wait(long,int)" -- uid: "java.lang.Enum.equals(java.lang.Object)" - name: "Enum.equals(Object)" - nameWithType: "Enum.equals(Object)" - fullName: "java.lang.Enum.equals(java.lang.Object)" -- uid: "java.lang.Enum" - name: "Enum" - nameWithType: "Enum" - fullName: "java.lang.Enum" -- uid: "java.lang.Enum." - name: "Enum." - nameWithType: "Enum." - fullName: "java.lang.Enum." -- uid: "T>,java.lang.String)" - name: "T>,String)" - nameWithType: "T>,String)" - fullName: "T>,java.lang.String)" -- uid: "T>valueOf(java.lang.Class" - name: "T>valueOf(Class" - nameWithType: "T>valueOf(Class" - fullName: "T>valueOf(java.lang.Class" + syntax: "public static Person.IdentificationInfo.Gender[] values()" + returns: + type: "[]" +metadata: {} +package: "com.microsoft.samples.subpackage" diff --git a/src/test/resources/expected-generated-files/com.microsoft.samples.subpackage.Person.IdentificationInfo.IdentificationInfo.yml b/src/test/resources/expected-generated-files/com.microsoft.samples.subpackage.Person.IdentificationInfo.IdentificationInfo.yml new file mode 100644 index 0000000..3f2e0ad --- /dev/null +++ b/src/test/resources/expected-generated-files/com.microsoft.samples.subpackage.Person.IdentificationInfo.IdentificationInfo.yml @@ -0,0 +1,14 @@ +### YamlMime:JavaMember +uid: "com.microsoft.samples.subpackage.Person.IdentificationInfo.IdentificationInfo*" +fullName: "com.microsoft.samples.subpackage.Person.IdentificationInfo.IdentificationInfo" +name: "IdentificationInfo" +nameWithType: "Person.IdentificationInfo.IdentificationInfo" +members: +- uid: "com.microsoft.samples.subpackage.Person.IdentificationInfo.IdentificationInfo()" + fullName: "com.microsoft.samples.subpackage.Person.IdentificationInfo.IdentificationInfo()" + name: "IdentificationInfo()" + nameWithType: "Person.IdentificationInfo.IdentificationInfo()" + syntax: "public IdentificationInfo()" +type: "constructor" +metadata: {} +package: "com.microsoft.samples.subpackage" diff --git a/src/test/resources/expected-generated-files/com.microsoft.samples.subpackage.Person.IdentificationInfo.yml b/src/test/resources/expected-generated-files/com.microsoft.samples.subpackage.Person.IdentificationInfo.yml index 04a02f0..84fe76c 100644 --- a/src/test/resources/expected-generated-files/com.microsoft.samples.subpackage.Person.IdentificationInfo.yml +++ b/src/test/resources/expected-generated-files/com.microsoft.samples.subpackage.Person.IdentificationInfo.yml @@ -1,99 +1,26 @@ -### YamlMime:ManagedReference -items: -- uid: "com.microsoft.samples.subpackage.Person.IdentificationInfo" - id: "IdentificationInfo" - parent: "com.microsoft.samples.subpackage" - children: - - "com.microsoft.samples.subpackage.Person.IdentificationInfo.Gender" - - "com.microsoft.samples.subpackage.Person.IdentificationInfo.IdentificationInfo()" - langs: - - "java" - name: "Person.IdentificationInfo" - nameWithType: "Person.IdentificationInfo" - fullName: "com.microsoft.samples.subpackage.Person.IdentificationInfo" - type: "Class" - package: "com.microsoft.samples.subpackage" - summary: "Class that describes person's identification" - syntax: - content: "public static class Person.IdentificationInfo" - inheritance: - - "java.lang.Object" - inheritedMembers: - - "java.lang.Object.clone()" - - "java.lang.Object.equals(java.lang.Object)" - - "java.lang.Object.finalize()" - - "java.lang.Object.getClass()" - - "java.lang.Object.hashCode()" - - "java.lang.Object.notify()" - - "java.lang.Object.notifyAll()" - - "java.lang.Object.toString()" - - "java.lang.Object.wait()" - - "java.lang.Object.wait(long)" - - "java.lang.Object.wait(long,int)" -- uid: "com.microsoft.samples.subpackage.Person.IdentificationInfo.IdentificationInfo()" - id: "IdentificationInfo()" - parent: "com.microsoft.samples.subpackage.Person.IdentificationInfo" - langs: - - "java" - name: "IdentificationInfo()" - nameWithType: "Person.IdentificationInfo.IdentificationInfo()" - fullName: "com.microsoft.samples.subpackage.Person.IdentificationInfo.IdentificationInfo()" - overload: "com.microsoft.samples.subpackage.Person.IdentificationInfo.IdentificationInfo*" - type: "Constructor" - package: "com.microsoft.samples.subpackage" - syntax: - content: "public IdentificationInfo()" -references: -- uid: "com.microsoft.samples.subpackage.Person.IdentificationInfo.IdentificationInfo*" - name: "IdentificationInfo" - nameWithType: "Person.IdentificationInfo.IdentificationInfo" - fullName: "com.microsoft.samples.subpackage.Person.IdentificationInfo.IdentificationInfo" - package: "com.microsoft.samples.subpackage" -- uid: "java.lang.Object.notify()" - name: "Object.notify()" - nameWithType: "Object.notify()" - fullName: "java.lang.Object.notify()" -- uid: "java.lang.Object.wait()" - name: "Object.wait()" - nameWithType: "Object.wait()" - fullName: "java.lang.Object.wait()" -- uid: "java.lang.Object.finalize()" - name: "Object.finalize()" - nameWithType: "Object.finalize()" - fullName: "java.lang.Object.finalize()" -- uid: "java.lang.Object.clone()" - name: "Object.clone()" - nameWithType: "Object.clone()" - fullName: "java.lang.Object.clone()" -- uid: "java.lang.Object.notifyAll()" - name: "Object.notifyAll()" - nameWithType: "Object.notifyAll()" - fullName: "java.lang.Object.notifyAll()" -- uid: "java.lang.Object.equals(java.lang.Object)" - name: "Object.equals(Object)" - nameWithType: "Object.equals(Object)" - fullName: "java.lang.Object.equals(java.lang.Object)" -- uid: "java.lang.Object.getClass()" - name: "Object.getClass()" - nameWithType: "Object.getClass()" - fullName: "java.lang.Object.getClass()" -- uid: "java.lang.Object.wait(long)" - name: "Object.wait(long)" - nameWithType: "Object.wait(long)" - fullName: "java.lang.Object.wait(long)" -- uid: "java.lang.Object.hashCode()" - name: "Object.hashCode()" - nameWithType: "Object.hashCode()" - fullName: "java.lang.Object.hashCode()" -- uid: "java.lang.Object.wait(long,int)" - name: "Object.wait(long,int)" - nameWithType: "Object.wait(long,int)" - fullName: "java.lang.Object.wait(long,int)" -- uid: "java.lang.Object.toString()" - name: "Object.toString()" - nameWithType: "Object.toString()" - fullName: "java.lang.Object.toString()" -- uid: "com.microsoft.samples.subpackage.Person.IdentificationInfo.Gender" - name: "Person.IdentificationInfo.Gender" - nameWithType: "Person.IdentificationInfo.Gender" - fullName: "com.microsoft.samples.subpackage.Person.IdentificationInfo.Gender" +### YamlMime:JavaType +uid: "com.microsoft.samples.subpackage.Person.IdentificationInfo" +fullName: "com.microsoft.samples.subpackage.Person.IdentificationInfo" +name: "Person.IdentificationInfo" +nameWithType: "Person.IdentificationInfo" +summary: "Class that describes person's identification" +inheritances: +- "" +inheritedMembers: +- "java.lang.Object.clone()" +- "java.lang.Object.equals(java.lang.Object)" +- "java.lang.Object.finalize()" +- "java.lang.Object.getClass()" +- "java.lang.Object.hashCode()" +- "java.lang.Object.notify()" +- "java.lang.Object.notifyAll()" +- "java.lang.Object.toString()" +- "java.lang.Object.wait()" +- "java.lang.Object.wait(long)" +- "java.lang.Object.wait(long,int)" +syntax: "public static class Person.IdentificationInfo" +constructors: +- "com.microsoft.samples.subpackage.Person.IdentificationInfo.IdentificationInfo()" +type: "class" +metadata: {} +package: "com.microsoft.samples.subpackage" diff --git a/src/test/resources/expected-generated-files/com.microsoft.samples.subpackage.Person.Person.yml b/src/test/resources/expected-generated-files/com.microsoft.samples.subpackage.Person.Person.yml new file mode 100644 index 0000000..6f9ff7e --- /dev/null +++ b/src/test/resources/expected-generated-files/com.microsoft.samples.subpackage.Person.Person.yml @@ -0,0 +1,14 @@ +### YamlMime:JavaMember +uid: "com.microsoft.samples.subpackage.Person.Person*" +fullName: "com.microsoft.samples.subpackage.Person.Person" +name: "Person" +nameWithType: "Person.Person" +members: +- uid: "com.microsoft.samples.subpackage.Person.Person()" + fullName: "com.microsoft.samples.subpackage.Person.Person()" + name: "Person()" + nameWithType: "Person.Person()" + syntax: "public Person()" +type: "constructor" +metadata: {} +package: "com.microsoft.samples.subpackage" diff --git a/src/test/resources/expected-generated-files/com.microsoft.samples.subpackage.Person.age.yml b/src/test/resources/expected-generated-files/com.microsoft.samples.subpackage.Person.age.yml new file mode 100644 index 0000000..a343768 --- /dev/null +++ b/src/test/resources/expected-generated-files/com.microsoft.samples.subpackage.Person.age.yml @@ -0,0 +1,14 @@ +### YamlMime:JavaMember +uid: "com.microsoft.samples.subpackage.Person.age" +fullName: "com.microsoft.samples.subpackage.Person.age" +name: "age" +nameWithType: "Person.age" +members: +- uid: "com.microsoft.samples.subpackage.Person.age" + fullName: "com.microsoft.samples.subpackage.Person.age" + name: "age" + nameWithType: "Person.age" + syntax: "public int age" +type: "field" +metadata: {} +package: "com.microsoft.samples.subpackage" diff --git a/src/test/resources/expected-generated-files/com.microsoft.samples.subpackage.Person.buildPerson.yml b/src/test/resources/expected-generated-files/com.microsoft.samples.subpackage.Person.buildPerson.yml new file mode 100644 index 0000000..717daa0 --- /dev/null +++ b/src/test/resources/expected-generated-files/com.microsoft.samples.subpackage.Person.buildPerson.yml @@ -0,0 +1,20 @@ +### YamlMime:JavaMember +uid: "com.microsoft.samples.subpackage.Person.buildPerson*" +fullName: "com.microsoft.samples.subpackage.Person.buildPerson" +name: "buildPerson" +nameWithType: "Person.buildPerson" +members: +- uid: "com.microsoft.samples.subpackage.Person.buildPerson(com.microsoft.samples.subpackage.Person)" + fullName: "com.microsoft.samples.subpackage.Person.buildPerson(Person seed)" + name: "buildPerson(Person seed)" + nameWithType: "Person.buildPerson(Person seed)" + summary: "We need to have this method that takes parameter and return types declared in the current class Test link String A person maybe a SuperHero" + parameters: + - name: "seed" + type: "" + syntax: "public static Person buildPerson(Person seed)" + returns: + type: "" +type: "method" +metadata: {} +package: "com.microsoft.samples.subpackage" diff --git a/src/test/resources/expected-generated-files/com.microsoft.samples.subpackage.Person.getFirstName.yml b/src/test/resources/expected-generated-files/com.microsoft.samples.subpackage.Person.getFirstName.yml new file mode 100644 index 0000000..e4b815f --- /dev/null +++ b/src/test/resources/expected-generated-files/com.microsoft.samples.subpackage.Person.getFirstName.yml @@ -0,0 +1,16 @@ +### YamlMime:JavaMember +uid: "com.microsoft.samples.subpackage.Person.getFirstName*" +fullName: "com.microsoft.samples.subpackage.Person.getFirstName" +name: "getFirstName" +nameWithType: "Person.getFirstName" +members: +- uid: "com.microsoft.samples.subpackage.Person.getFirstName()" + fullName: "com.microsoft.samples.subpackage.Person.getFirstName()" + name: "getFirstName()" + nameWithType: "Person.getFirstName()" + syntax: "public String getFirstName()" + returns: + type: "" +type: "method" +metadata: {} +package: "com.microsoft.samples.subpackage" diff --git a/src/test/resources/expected-generated-files/com.microsoft.samples.subpackage.Person.getLastName.yml b/src/test/resources/expected-generated-files/com.microsoft.samples.subpackage.Person.getLastName.yml new file mode 100644 index 0000000..60f64d7 --- /dev/null +++ b/src/test/resources/expected-generated-files/com.microsoft.samples.subpackage.Person.getLastName.yml @@ -0,0 +1,16 @@ +### YamlMime:JavaMember +uid: "com.microsoft.samples.subpackage.Person.getLastName*" +fullName: "com.microsoft.samples.subpackage.Person.getLastName" +name: "getLastName" +nameWithType: "Person.getLastName" +members: +- uid: "com.microsoft.samples.subpackage.Person.getLastName()" + fullName: "com.microsoft.samples.subpackage.Person.getLastName()" + name: "getLastName()" + nameWithType: "Person.getLastName()" + syntax: "public String getLastName()" + returns: + type: "" +type: "method" +metadata: {} +package: "com.microsoft.samples.subpackage" diff --git a/src/test/resources/expected-generated-files/com.microsoft.samples.subpackage.Person.getSomeSet.yml b/src/test/resources/expected-generated-files/com.microsoft.samples.subpackage.Person.getSomeSet.yml new file mode 100644 index 0000000..f28170c --- /dev/null +++ b/src/test/resources/expected-generated-files/com.microsoft.samples.subpackage.Person.getSomeSet.yml @@ -0,0 +1,16 @@ +### YamlMime:JavaMember +uid: "com.microsoft.samples.subpackage.Person.getSomeSet*" +fullName: "com.microsoft.samples.subpackage.Person.getSomeSet" +name: "getSomeSet" +nameWithType: "Person.getSomeSet" +members: +- uid: "com.microsoft.samples.subpackage.Person.getSomeSet()" + fullName: "com.microsoft.samples.subpackage.Person.getSomeSet()" + name: "getSomeSet()" + nameWithType: "Person.getSomeSet()" + syntax: "public Set getSomeSet()" + returns: + type: "<>" +type: "method" +metadata: {} +package: "com.microsoft.samples.subpackage" diff --git a/src/test/resources/expected-generated-files/com.microsoft.samples.subpackage.Person.setFirstName.yml b/src/test/resources/expected-generated-files/com.microsoft.samples.subpackage.Person.setFirstName.yml new file mode 100644 index 0000000..19cec5b --- /dev/null +++ b/src/test/resources/expected-generated-files/com.microsoft.samples.subpackage.Person.setFirstName.yml @@ -0,0 +1,17 @@ +### YamlMime:JavaMember +uid: "com.microsoft.samples.subpackage.Person.setFirstName*" +fullName: "com.microsoft.samples.subpackage.Person.setFirstName" +name: "setFirstName" +nameWithType: "Person.setFirstName" +members: +- uid: "com.microsoft.samples.subpackage.Person.setFirstName(java.lang.String)" + fullName: "com.microsoft.samples.subpackage.Person.setFirstName(String firstName)" + name: "setFirstName(String firstName)" + nameWithType: "Person.setFirstName(String firstName)" + parameters: + - name: "firstName" + type: "" + syntax: "public void setFirstName(String firstName)" +type: "method" +metadata: {} +package: "com.microsoft.samples.subpackage" diff --git a/src/test/resources/expected-generated-files/com.microsoft.samples.subpackage.Person.setLastName.yml b/src/test/resources/expected-generated-files/com.microsoft.samples.subpackage.Person.setLastName.yml new file mode 100644 index 0000000..0268df9 --- /dev/null +++ b/src/test/resources/expected-generated-files/com.microsoft.samples.subpackage.Person.setLastName.yml @@ -0,0 +1,22 @@ +### YamlMime:JavaMember +uid: "com.microsoft.samples.subpackage.Person.setLastName*" +fullName: "com.microsoft.samples.subpackage.Person.setLastName" +name: "setLastName" +nameWithType: "Person.setLastName" +members: +- uid: "com.microsoft.samples.subpackage.Person.setLastName()" + fullName: "com.microsoft.samples.subpackage.Person.setLastName()" + name: "setLastName()" + nameWithType: "Person.setLastName()" + syntax: "public void setLastName()" +- uid: "com.microsoft.samples.subpackage.Person.setLastName(java.lang.String)" + fullName: "com.microsoft.samples.subpackage.Person.setLastName(String lastName)" + name: "setLastName(String lastName)" + nameWithType: "Person.setLastName(String lastName)" + parameters: + - name: "lastName" + type: "" + syntax: "public void setLastName(String lastName)" +type: "method" +metadata: {} +package: "com.microsoft.samples.subpackage" diff --git a/src/test/resources/expected-generated-files/com.microsoft.samples.subpackage.Person.yml b/src/test/resources/expected-generated-files/com.microsoft.samples.subpackage.Person.yml index 63175cd..31716ef 100644 --- a/src/test/resources/expected-generated-files/com.microsoft.samples.subpackage.Person.yml +++ b/src/test/resources/expected-generated-files/com.microsoft.samples.subpackage.Person.yml @@ -1,292 +1,38 @@ -### YamlMime:ManagedReference -items: -- uid: "com.microsoft.samples.subpackage.Person" - id: "Person" - parent: "com.microsoft.samples.subpackage" - children: - - "com.microsoft.samples.subpackage.Person.IdentificationInfo" - - "com.microsoft.samples.subpackage.Person.Person()" - - "com.microsoft.samples.subpackage.Person.age" - - "com.microsoft.samples.subpackage.Person.buildPerson(com.microsoft.samples.subpackage.Person)" - - "com.microsoft.samples.subpackage.Person.getFirstName()" - - "com.microsoft.samples.subpackage.Person.getLastName()" - - "com.microsoft.samples.subpackage.Person.getSomeSet()" - - "com.microsoft.samples.subpackage.Person.setFirstName(java.lang.String)" - - "com.microsoft.samples.subpackage.Person.setLastName()" - - "com.microsoft.samples.subpackage.Person.setLastName(java.lang.String)" - langs: - - "java" - name: "Person" - nameWithType: "Person" - fullName: "com.microsoft.samples.subpackage.Person" - type: "Class" - package: "com.microsoft.samples.subpackage" - summary: "Class that describes some person This comment has links to:\n\n * Owner class Person\n * Its inner class Person.IdentificationInfo\n * Its method Person#setLastName(String lastName)\n * Its method without params Person#setLastName()\n * Its public field Person#age\n * Another class which used here Set\n * Another class which not used here List\n * Broken link sdfdsagdsfghfgh\n * Plain link someContent\n * Link that starts from '\\#' #setLastName()\n * Link with label WordOne\n\nThis is an \"at\" symbol: @" - syntax: - content: "public class Person" - typeParameters: - - id: "T" - inheritance: - - "java.lang.Object" - inheritedMembers: - - "java.lang.Object.clone()" - - "java.lang.Object.equals(java.lang.Object)" - - "java.lang.Object.finalize()" - - "java.lang.Object.getClass()" - - "java.lang.Object.hashCode()" - - "java.lang.Object.notify()" - - "java.lang.Object.notifyAll()" - - "java.lang.Object.toString()" - - "java.lang.Object.wait()" - - "java.lang.Object.wait(long)" - - "java.lang.Object.wait(long,int)" -- uid: "com.microsoft.samples.subpackage.Person.Person()" - id: "Person()" - parent: "com.microsoft.samples.subpackage.Person" - langs: - - "java" - name: "Person()" - nameWithType: "Person.Person()" - fullName: "com.microsoft.samples.subpackage.Person.Person()" - overload: "com.microsoft.samples.subpackage.Person.Person*" - type: "Constructor" - package: "com.microsoft.samples.subpackage" - syntax: - content: "public Person()" -- uid: "com.microsoft.samples.subpackage.Person.age" - id: "age" - parent: "com.microsoft.samples.subpackage.Person" - langs: - - "java" - name: "age" - nameWithType: "Person.age" - fullName: "com.microsoft.samples.subpackage.Person.age" - type: "Field" - package: "com.microsoft.samples.subpackage" - syntax: - content: "public int age" - return: - type: "int" -- uid: "com.microsoft.samples.subpackage.Person.buildPerson(com.microsoft.samples.subpackage.Person)" - id: "buildPerson(com.microsoft.samples.subpackage.Person)" - parent: "com.microsoft.samples.subpackage.Person" - langs: - - "java" - name: "buildPerson(Person seed)" - nameWithType: "Person.buildPerson(Person seed)" - fullName: "com.microsoft.samples.subpackage.Person.buildPerson(Person seed)" - overload: "com.microsoft.samples.subpackage.Person.buildPerson*" - type: "Method" - package: "com.microsoft.samples.subpackage" - summary: "We need to have this method that takes parameter and return types declared in the current class" - syntax: - content: "public static Person buildPerson(Person seed)" - parameters: - - id: "seed" - type: "com.microsoft.samples.subpackage.Person" - return: - type: "com.microsoft.samples.subpackage.Person" -- uid: "com.microsoft.samples.subpackage.Person.getFirstName()" - id: "getFirstName()" - parent: "com.microsoft.samples.subpackage.Person" - langs: - - "java" - name: "getFirstName()" - nameWithType: "Person.getFirstName()" - fullName: "com.microsoft.samples.subpackage.Person.getFirstName()" - overload: "com.microsoft.samples.subpackage.Person.getFirstName*" - type: "Method" - package: "com.microsoft.samples.subpackage" - syntax: - content: "public String getFirstName()" - return: - type: "java.lang.String" -- uid: "com.microsoft.samples.subpackage.Person.getLastName()" - id: "getLastName()" - parent: "com.microsoft.samples.subpackage.Person" - langs: - - "java" - name: "getLastName()" - nameWithType: "Person.getLastName()" - fullName: "com.microsoft.samples.subpackage.Person.getLastName()" - overload: "com.microsoft.samples.subpackage.Person.getLastName*" - type: "Method" - package: "com.microsoft.samples.subpackage" - syntax: - content: "public String getLastName()" - return: - type: "java.lang.String" -- uid: "com.microsoft.samples.subpackage.Person.getSomeSet()" - id: "getSomeSet()" - parent: "com.microsoft.samples.subpackage.Person" - langs: - - "java" - name: "getSomeSet()" - nameWithType: "Person.getSomeSet()" - fullName: "com.microsoft.samples.subpackage.Person.getSomeSet()" - overload: "com.microsoft.samples.subpackage.Person.getSomeSet*" - type: "Method" - package: "com.microsoft.samples.subpackage" - syntax: - content: "public Set getSomeSet()" - return: - type: "java.util.Set" -- uid: "com.microsoft.samples.subpackage.Person.setFirstName(java.lang.String)" - id: "setFirstName(java.lang.String)" - parent: "com.microsoft.samples.subpackage.Person" - langs: - - "java" - name: "setFirstName(String firstName)" - nameWithType: "Person.setFirstName(String firstName)" - fullName: "com.microsoft.samples.subpackage.Person.setFirstName(String firstName)" - overload: "com.microsoft.samples.subpackage.Person.setFirstName*" - type: "Method" - package: "com.microsoft.samples.subpackage" - syntax: - content: "public void setFirstName(String firstName)" - parameters: - - id: "firstName" - type: "java.lang.String" -- uid: "com.microsoft.samples.subpackage.Person.setLastName()" - id: "setLastName()" - parent: "com.microsoft.samples.subpackage.Person" - langs: - - "java" - name: "setLastName()" - nameWithType: "Person.setLastName()" - fullName: "com.microsoft.samples.subpackage.Person.setLastName()" - overload: "com.microsoft.samples.subpackage.Person.setLastName*" - type: "Method" - package: "com.microsoft.samples.subpackage" - syntax: - content: "public void setLastName()" -- uid: "com.microsoft.samples.subpackage.Person.setLastName(java.lang.String)" - id: "setLastName(java.lang.String)" - parent: "com.microsoft.samples.subpackage.Person" - langs: - - "java" - name: "setLastName(String lastName)" - nameWithType: "Person.setLastName(String lastName)" - fullName: "com.microsoft.samples.subpackage.Person.setLastName(String lastName)" - overload: "com.microsoft.samples.subpackage.Person.setLastName*" - type: "Method" - package: "com.microsoft.samples.subpackage" - syntax: - content: "public void setLastName(String lastName)" - parameters: - - id: "lastName" - type: "java.lang.String" -references: -- uid: "com.microsoft.samples.subpackage.Person.Person*" - name: "Person" - nameWithType: "Person.Person" - fullName: "com.microsoft.samples.subpackage.Person.Person" - package: "com.microsoft.samples.subpackage" -- uid: "java.lang.String" - spec.java: - - uid: "java.lang.String" - name: "String" - fullName: "java.lang.String" -- uid: "com.microsoft.samples.subpackage.Person.getFirstName*" - name: "getFirstName" - nameWithType: "Person.getFirstName" - fullName: "com.microsoft.samples.subpackage.Person.getFirstName" - package: "com.microsoft.samples.subpackage" -- uid: "com.microsoft.samples.subpackage.Person.setFirstName*" - name: "setFirstName" - nameWithType: "Person.setFirstName" - fullName: "com.microsoft.samples.subpackage.Person.setFirstName" - package: "com.microsoft.samples.subpackage" -- uid: "com.microsoft.samples.subpackage.Person.getLastName*" - name: "getLastName" - nameWithType: "Person.getLastName" - fullName: "com.microsoft.samples.subpackage.Person.getLastName" - package: "com.microsoft.samples.subpackage" -- uid: "com.microsoft.samples.subpackage.Person.setLastName*" - name: "setLastName" - nameWithType: "Person.setLastName" - fullName: "com.microsoft.samples.subpackage.Person.setLastName" - package: "com.microsoft.samples.subpackage" -- uid: "java.util.Set" - spec.java: - - uid: "java.util.Set" - name: "Set" - fullName: "java.util.Set" - - name: "<" - fullName: "<" - - uid: "java.lang.String" - name: "String" - fullName: "java.lang.String" - - name: ">" - fullName: ">" -- uid: "com.microsoft.samples.subpackage.Person.getSomeSet*" - name: "getSomeSet" - nameWithType: "Person.getSomeSet" - fullName: "com.microsoft.samples.subpackage.Person.getSomeSet" - package: "com.microsoft.samples.subpackage" -- uid: "com.microsoft.samples.subpackage.Person.buildPerson*" - name: "buildPerson" - nameWithType: "Person.buildPerson" - fullName: "com.microsoft.samples.subpackage.Person.buildPerson" - package: "com.microsoft.samples.subpackage" -- uid: "int" - spec.java: - - uid: "int" - name: "int" - fullName: "int" -- uid: "T" - name: "T" - nameWithType: "T" - fullName: "T" -- uid: "java.lang.Object.notify()" - name: "Object.notify()" - nameWithType: "Object.notify()" - fullName: "java.lang.Object.notify()" -- uid: "java.lang.Object.wait()" - name: "Object.wait()" - nameWithType: "Object.wait()" - fullName: "java.lang.Object.wait()" -- uid: "java.lang.Object.finalize()" - name: "Object.finalize()" - nameWithType: "Object.finalize()" - fullName: "java.lang.Object.finalize()" -- uid: "java.lang.Object.clone()" - name: "Object.clone()" - nameWithType: "Object.clone()" - fullName: "java.lang.Object.clone()" -- uid: "java.lang.Object.notifyAll()" - name: "Object.notifyAll()" - nameWithType: "Object.notifyAll()" - fullName: "java.lang.Object.notifyAll()" -- uid: "java.lang.Object.equals(java.lang.Object)" - name: "Object.equals(Object)" - nameWithType: "Object.equals(Object)" - fullName: "java.lang.Object.equals(java.lang.Object)" -- uid: "java.lang.Object.getClass()" - name: "Object.getClass()" - nameWithType: "Object.getClass()" - fullName: "java.lang.Object.getClass()" -- uid: "java.lang.Object.wait(long)" - name: "Object.wait(long)" - nameWithType: "Object.wait(long)" - fullName: "java.lang.Object.wait(long)" -- uid: "java.lang.Object.hashCode()" - name: "Object.hashCode()" - nameWithType: "Object.hashCode()" - fullName: "java.lang.Object.hashCode()" -- uid: "java.lang.Object.wait(long,int)" - name: "Object.wait(long,int)" - nameWithType: "Object.wait(long,int)" - fullName: "java.lang.Object.wait(long,int)" -- uid: "java.lang.Object.toString()" - name: "Object.toString()" - nameWithType: "Object.toString()" - fullName: "java.lang.Object.toString()" -- uid: "com.microsoft.samples.subpackage.Person.IdentificationInfo" - name: "Person.IdentificationInfo" - nameWithType: "Person.IdentificationInfo" - fullName: "com.microsoft.samples.subpackage.Person.IdentificationInfo" -- uid: "java.util.Set" - name: "Set" - nameWithType: "Set" - fullName: "java.util.Set" +### YamlMime:JavaType +uid: "com.microsoft.samples.subpackage.Person" +fullName: "com.microsoft.samples.subpackage.Person" +name: "Person" +nameWithType: "Person" +summary: "Class that describes some person This comment has links to:\n\n * Owner class Person\n * Its inner class Person.IdentificationInfo\n * Its method Person#setLastName(String lastName)\n * Its method without params Person#setLastName()\n * Its public field Person#age\n * Another class which used here Set\n * Another class which not used here List\n * Broken link sdfdsagdsfghfgh\n * Plain link someContent\n * Link that starts from '\\#' #setLastName()\n * Link with label WordOne\n\nThis is an \"at\" symbol: @" +inheritances: +- "" +inheritedMembers: +- "java.lang.Object.clone()" +- "java.lang.Object.equals(java.lang.Object)" +- "java.lang.Object.finalize()" +- "java.lang.Object.getClass()" +- "java.lang.Object.hashCode()" +- "java.lang.Object.notify()" +- "java.lang.Object.notifyAll()" +- "java.lang.Object.toString()" +- "java.lang.Object.wait()" +- "java.lang.Object.wait(long)" +- "java.lang.Object.wait(long,int)" +syntax: "public class Person" +constructors: +- "com.microsoft.samples.subpackage.Person.Person()" +fields: +- "com.microsoft.samples.subpackage.Person.age" +methods: +- "com.microsoft.samples.subpackage.Person.buildPerson(com.microsoft.samples.subpackage.Person)" +- "com.microsoft.samples.subpackage.Person.getFirstName()" +- "com.microsoft.samples.subpackage.Person.getLastName()" +- "com.microsoft.samples.subpackage.Person.getSomeSet()" +- "com.microsoft.samples.subpackage.Person.setFirstName(java.lang.String)" +- "com.microsoft.samples.subpackage.Person.setLastName()" +- "com.microsoft.samples.subpackage.Person.setLastName(java.lang.String)" +type: "class" +typeParameters: +- name: "T" +metadata: {} +package: "com.microsoft.samples.subpackage" diff --git a/src/test/resources/expected-generated-files/com.microsoft.samples.subpackage.Tuple.Tuple.yml b/src/test/resources/expected-generated-files/com.microsoft.samples.subpackage.Tuple.Tuple.yml new file mode 100644 index 0000000..59269da --- /dev/null +++ b/src/test/resources/expected-generated-files/com.microsoft.samples.subpackage.Tuple.Tuple.yml @@ -0,0 +1,19 @@ +### YamlMime:JavaMember +uid: "com.microsoft.samples.subpackage.Tuple.Tuple*" +fullName: "com.microsoft.samples.subpackage.Tuple.Tuple" +name: "Tuple" +nameWithType: "Tuple.Tuple" +members: +- uid: "com.microsoft.samples.subpackage.Tuple.Tuple(T1,T2)" + fullName: "com.microsoft.samples.subpackage.Tuple.Tuple(T1 item1, T2 item2)" + name: "Tuple(T1 item1, T2 item2)" + nameWithType: "Tuple.Tuple(T1 item1, T2 item2)" + parameters: + - name: "item1" + type: "" + - name: "item2" + type: "" + syntax: "public Tuple(T1 item1, T2 item2)" +type: "constructor" +metadata: {} +package: "com.microsoft.samples.subpackage" diff --git a/src/test/resources/expected-generated-files/com.microsoft.samples.subpackage.Tuple.getItem1.yml b/src/test/resources/expected-generated-files/com.microsoft.samples.subpackage.Tuple.getItem1.yml new file mode 100644 index 0000000..08953e2 --- /dev/null +++ b/src/test/resources/expected-generated-files/com.microsoft.samples.subpackage.Tuple.getItem1.yml @@ -0,0 +1,16 @@ +### YamlMime:JavaMember +uid: "com.microsoft.samples.subpackage.Tuple.getItem1*" +fullName: "com.microsoft.samples.subpackage.Tuple.getItem1" +name: "getItem1" +nameWithType: "Tuple.getItem1" +members: +- uid: "com.microsoft.samples.subpackage.Tuple.getItem1()" + fullName: "com.microsoft.samples.subpackage.Tuple.getItem1()" + name: "getItem1()" + nameWithType: "Tuple.getItem1()" + syntax: "public T1 getItem1()" + returns: + type: "" +type: "method" +metadata: {} +package: "com.microsoft.samples.subpackage" diff --git a/src/test/resources/expected-generated-files/com.microsoft.samples.subpackage.Tuple.getItem2.yml b/src/test/resources/expected-generated-files/com.microsoft.samples.subpackage.Tuple.getItem2.yml new file mode 100644 index 0000000..416bf9b --- /dev/null +++ b/src/test/resources/expected-generated-files/com.microsoft.samples.subpackage.Tuple.getItem2.yml @@ -0,0 +1,16 @@ +### YamlMime:JavaMember +uid: "com.microsoft.samples.subpackage.Tuple.getItem2*" +fullName: "com.microsoft.samples.subpackage.Tuple.getItem2" +name: "getItem2" +nameWithType: "Tuple.getItem2" +members: +- uid: "com.microsoft.samples.subpackage.Tuple.getItem2()" + fullName: "com.microsoft.samples.subpackage.Tuple.getItem2()" + name: "getItem2()" + nameWithType: "Tuple.getItem2()" + syntax: "public T2 getItem2()" + returns: + type: "" +type: "method" +metadata: {} +package: "com.microsoft.samples.subpackage" diff --git a/src/test/resources/expected-generated-files/com.microsoft.samples.subpackage.Tuple.setItem1.yml b/src/test/resources/expected-generated-files/com.microsoft.samples.subpackage.Tuple.setItem1.yml new file mode 100644 index 0000000..b57ba81 --- /dev/null +++ b/src/test/resources/expected-generated-files/com.microsoft.samples.subpackage.Tuple.setItem1.yml @@ -0,0 +1,17 @@ +### YamlMime:JavaMember +uid: "com.microsoft.samples.subpackage.Tuple.setItem1*" +fullName: "com.microsoft.samples.subpackage.Tuple.setItem1" +name: "setItem1" +nameWithType: "Tuple.setItem1" +members: +- uid: "com.microsoft.samples.subpackage.Tuple.setItem1(T1)" + fullName: "com.microsoft.samples.subpackage.Tuple.setItem1(T1 item1)" + name: "setItem1(T1 item1)" + nameWithType: "Tuple.setItem1(T1 item1)" + parameters: + - name: "item1" + type: "" + syntax: "public void setItem1(T1 item1)" +type: "method" +metadata: {} +package: "com.microsoft.samples.subpackage" diff --git a/src/test/resources/expected-generated-files/com.microsoft.samples.subpackage.Tuple.setItem2.yml b/src/test/resources/expected-generated-files/com.microsoft.samples.subpackage.Tuple.setItem2.yml new file mode 100644 index 0000000..3d66435 --- /dev/null +++ b/src/test/resources/expected-generated-files/com.microsoft.samples.subpackage.Tuple.setItem2.yml @@ -0,0 +1,17 @@ +### YamlMime:JavaMember +uid: "com.microsoft.samples.subpackage.Tuple.setItem2*" +fullName: "com.microsoft.samples.subpackage.Tuple.setItem2" +name: "setItem2" +nameWithType: "Tuple.setItem2" +members: +- uid: "com.microsoft.samples.subpackage.Tuple.setItem2(T2)" + fullName: "com.microsoft.samples.subpackage.Tuple.setItem2(T2 item2)" + name: "setItem2(T2 item2)" + nameWithType: "Tuple.setItem2(T2 item2)" + parameters: + - name: "item2" + type: "" + syntax: "public void setItem2(T2 item2)" +type: "method" +metadata: {} +package: "com.microsoft.samples.subpackage" diff --git a/src/test/resources/expected-generated-files/com.microsoft.samples.subpackage.Tuple.yml b/src/test/resources/expected-generated-files/com.microsoft.samples.subpackage.Tuple.yml index 64b681b..274971c 100644 --- a/src/test/resources/expected-generated-files/com.microsoft.samples.subpackage.Tuple.yml +++ b/src/test/resources/expected-generated-files/com.microsoft.samples.subpackage.Tuple.yml @@ -1,197 +1,33 @@ -### YamlMime:ManagedReference -items: -- uid: "com.microsoft.samples.subpackage.Tuple" - id: "Tuple" - parent: "com.microsoft.samples.subpackage" - children: - - "com.microsoft.samples.subpackage.Tuple.Tuple(T1,T2)" - - "com.microsoft.samples.subpackage.Tuple.getItem1()" - - "com.microsoft.samples.subpackage.Tuple.getItem2()" - - "com.microsoft.samples.subpackage.Tuple.setItem1(T1)" - - "com.microsoft.samples.subpackage.Tuple.setItem2(T2)" - langs: - - "java" - name: "Tuple" - nameWithType: "Tuple" - fullName: "com.microsoft.samples.subpackage.Tuple" - type: "Class" - package: "com.microsoft.samples.subpackage" - syntax: - content: "public class Tuple" - typeParameters: - - id: "T1" - - id: "T2" - inheritance: - - "java.lang.Object" - inheritedMembers: - - "java.lang.Object.clone()" - - "java.lang.Object.equals(java.lang.Object)" - - "java.lang.Object.finalize()" - - "java.lang.Object.getClass()" - - "java.lang.Object.hashCode()" - - "java.lang.Object.notify()" - - "java.lang.Object.notifyAll()" - - "java.lang.Object.toString()" - - "java.lang.Object.wait()" - - "java.lang.Object.wait(long)" - - "java.lang.Object.wait(long,int)" -- uid: "com.microsoft.samples.subpackage.Tuple.Tuple(T1,T2)" - id: "Tuple(T1,T2)" - parent: "com.microsoft.samples.subpackage.Tuple" - langs: - - "java" - name: "Tuple(T1 item1, T2 item2)" - nameWithType: "Tuple.Tuple(T1 item1, T2 item2)" - fullName: "com.microsoft.samples.subpackage.Tuple.Tuple(T1 item1, T2 item2)" - overload: "com.microsoft.samples.subpackage.Tuple.Tuple*" - type: "Constructor" - package: "com.microsoft.samples.subpackage" - syntax: - content: "public Tuple(T1 item1, T2 item2)" - parameters: - - id: "item1" - type: "T1" - - id: "item2" - type: "T2" -- uid: "com.microsoft.samples.subpackage.Tuple.getItem1()" - id: "getItem1()" - parent: "com.microsoft.samples.subpackage.Tuple" - langs: - - "java" - name: "getItem1()" - nameWithType: "Tuple.getItem1()" - fullName: "com.microsoft.samples.subpackage.Tuple.getItem1()" - overload: "com.microsoft.samples.subpackage.Tuple.getItem1*" - type: "Method" - package: "com.microsoft.samples.subpackage" - syntax: - content: "public T1 getItem1()" - return: - type: "T1" -- uid: "com.microsoft.samples.subpackage.Tuple.getItem2()" - id: "getItem2()" - parent: "com.microsoft.samples.subpackage.Tuple" - langs: - - "java" - name: "getItem2()" - nameWithType: "Tuple.getItem2()" - fullName: "com.microsoft.samples.subpackage.Tuple.getItem2()" - overload: "com.microsoft.samples.subpackage.Tuple.getItem2*" - type: "Method" - package: "com.microsoft.samples.subpackage" - syntax: - content: "public T2 getItem2()" - return: - type: "T2" -- uid: "com.microsoft.samples.subpackage.Tuple.setItem1(T1)" - id: "setItem1(T1)" - parent: "com.microsoft.samples.subpackage.Tuple" - langs: - - "java" - name: "setItem1(T1 item1)" - nameWithType: "Tuple.setItem1(T1 item1)" - fullName: "com.microsoft.samples.subpackage.Tuple.setItem1(T1 item1)" - overload: "com.microsoft.samples.subpackage.Tuple.setItem1*" - type: "Method" - package: "com.microsoft.samples.subpackage" - syntax: - content: "public void setItem1(T1 item1)" - parameters: - - id: "item1" - type: "T1" -- uid: "com.microsoft.samples.subpackage.Tuple.setItem2(T2)" - id: "setItem2(T2)" - parent: "com.microsoft.samples.subpackage.Tuple" - langs: - - "java" - name: "setItem2(T2 item2)" - nameWithType: "Tuple.setItem2(T2 item2)" - fullName: "com.microsoft.samples.subpackage.Tuple.setItem2(T2 item2)" - overload: "com.microsoft.samples.subpackage.Tuple.setItem2*" - type: "Method" - package: "com.microsoft.samples.subpackage" - syntax: - content: "public void setItem2(T2 item2)" - parameters: - - id: "item2" - type: "T2" -references: -- uid: "T1" - spec.java: - - uid: "T1" - name: "T1" - fullName: "T1" -- uid: "T2" - spec.java: - - uid: "T2" - name: "T2" - fullName: "T2" -- uid: "com.microsoft.samples.subpackage.Tuple.Tuple*" - name: "Tuple" - nameWithType: "Tuple.Tuple" - fullName: "com.microsoft.samples.subpackage.Tuple.Tuple" - package: "com.microsoft.samples.subpackage" -- uid: "com.microsoft.samples.subpackage.Tuple.getItem1*" - name: "getItem1" - nameWithType: "Tuple.getItem1" - fullName: "com.microsoft.samples.subpackage.Tuple.getItem1" - package: "com.microsoft.samples.subpackage" -- uid: "com.microsoft.samples.subpackage.Tuple.setItem1*" - name: "setItem1" - nameWithType: "Tuple.setItem1" - fullName: "com.microsoft.samples.subpackage.Tuple.setItem1" - package: "com.microsoft.samples.subpackage" -- uid: "com.microsoft.samples.subpackage.Tuple.getItem2*" - name: "getItem2" - nameWithType: "Tuple.getItem2" - fullName: "com.microsoft.samples.subpackage.Tuple.getItem2" - package: "com.microsoft.samples.subpackage" -- uid: "com.microsoft.samples.subpackage.Tuple.setItem2*" - name: "setItem2" - nameWithType: "Tuple.setItem2" - fullName: "com.microsoft.samples.subpackage.Tuple.setItem2" - package: "com.microsoft.samples.subpackage" -- uid: "java.lang.Object.notify()" - name: "Object.notify()" - nameWithType: "Object.notify()" - fullName: "java.lang.Object.notify()" -- uid: "java.lang.Object.wait()" - name: "Object.wait()" - nameWithType: "Object.wait()" - fullName: "java.lang.Object.wait()" -- uid: "java.lang.Object.finalize()" - name: "Object.finalize()" - nameWithType: "Object.finalize()" - fullName: "java.lang.Object.finalize()" -- uid: "java.lang.Object.clone()" - name: "Object.clone()" - nameWithType: "Object.clone()" - fullName: "java.lang.Object.clone()" -- uid: "java.lang.Object.notifyAll()" - name: "Object.notifyAll()" - nameWithType: "Object.notifyAll()" - fullName: "java.lang.Object.notifyAll()" -- uid: "java.lang.Object.equals(java.lang.Object)" - name: "Object.equals(Object)" - nameWithType: "Object.equals(Object)" - fullName: "java.lang.Object.equals(java.lang.Object)" -- uid: "java.lang.Object.getClass()" - name: "Object.getClass()" - nameWithType: "Object.getClass()" - fullName: "java.lang.Object.getClass()" -- uid: "java.lang.Object.wait(long)" - name: "Object.wait(long)" - nameWithType: "Object.wait(long)" - fullName: "java.lang.Object.wait(long)" -- uid: "java.lang.Object.hashCode()" - name: "Object.hashCode()" - nameWithType: "Object.hashCode()" - fullName: "java.lang.Object.hashCode()" -- uid: "java.lang.Object.wait(long,int)" - name: "Object.wait(long,int)" - nameWithType: "Object.wait(long,int)" - fullName: "java.lang.Object.wait(long,int)" -- uid: "java.lang.Object.toString()" - name: "Object.toString()" - nameWithType: "Object.toString()" - fullName: "java.lang.Object.toString()" +### YamlMime:JavaType +uid: "com.microsoft.samples.subpackage.Tuple" +fullName: "com.microsoft.samples.subpackage.Tuple" +name: "Tuple" +nameWithType: "Tuple" +inheritances: +- "" +inheritedMembers: +- "java.lang.Object.clone()" +- "java.lang.Object.equals(java.lang.Object)" +- "java.lang.Object.finalize()" +- "java.lang.Object.getClass()" +- "java.lang.Object.hashCode()" +- "java.lang.Object.notify()" +- "java.lang.Object.notifyAll()" +- "java.lang.Object.toString()" +- "java.lang.Object.wait()" +- "java.lang.Object.wait(long)" +- "java.lang.Object.wait(long,int)" +syntax: "public class Tuple" +constructors: +- "com.microsoft.samples.subpackage.Tuple.Tuple(T1,T2)" +methods: +- "com.microsoft.samples.subpackage.Tuple.getItem1()" +- "com.microsoft.samples.subpackage.Tuple.getItem2()" +- "com.microsoft.samples.subpackage.Tuple.setItem1(T1)" +- "com.microsoft.samples.subpackage.Tuple.setItem2(T2)" +type: "class" +typeParameters: +- name: "T1" +- name: "T2" +metadata: {} +package: "com.microsoft.samples.subpackage" diff --git a/src/test/resources/expected-generated-files/com.microsoft.samples.yml b/src/test/resources/expected-generated-files/com.microsoft.samples.yml index c2d29ec..6651ba5 100644 --- a/src/test/resources/expected-generated-files/com.microsoft.samples.yml +++ b/src/test/resources/expected-generated-files/com.microsoft.samples.yml @@ -1,50 +1,16 @@ -### YamlMime:ManagedReference -items: -- uid: "com.microsoft.samples" - id: "samples" - children: - - "com.microsoft.samples.BasePartnerComponent" - - "com.microsoft.samples.BasePartnerComponentString" - - "com.microsoft.samples.IPartner" - - "com.microsoft.samples.KeyValuePair" - - "com.microsoft.samples.Link" - - "com.microsoft.samples.Subpackage" - - "com.microsoft.samples.SuperHero" - langs: - - "java" - name: "com.microsoft.samples" - nameWithType: "com.microsoft.samples" - fullName: "com.microsoft.samples" - type: "Namespace" - summary: "This package contains the sample set of classes for testing DocFx doclet." - syntax: - content: "package com.microsoft.samples" -references: -- uid: "com.microsoft.samples.BasePartnerComponent" - name: "BasePartnerComponent" - nameWithType: "BasePartnerComponent" - fullName: "com.microsoft.samples.BasePartnerComponent" -- uid: "com.microsoft.samples.BasePartnerComponentString" - name: "BasePartnerComponentString" - nameWithType: "BasePartnerComponentString" - fullName: "com.microsoft.samples.BasePartnerComponentString" -- uid: "com.microsoft.samples.IPartner" - name: "IPartner" - nameWithType: "IPartner" - fullName: "com.microsoft.samples.IPartner" -- uid: "com.microsoft.samples.KeyValuePair" - name: "KeyValuePair" - nameWithType: "KeyValuePair" - fullName: "com.microsoft.samples.KeyValuePair" -- uid: "com.microsoft.samples.Link" - name: "Link" - nameWithType: "Link" - fullName: "com.microsoft.samples.Link" -- uid: "com.microsoft.samples.Subpackage" - name: "Subpackage" - nameWithType: "Subpackage" - fullName: "com.microsoft.samples.Subpackage" -- uid: "com.microsoft.samples.SuperHero" - name: "SuperHero" - nameWithType: "SuperHero" - fullName: "com.microsoft.samples.SuperHero" +### YamlMime:JavaPackage +uid: "com.microsoft.samples" +fullName: "com.microsoft.samples" +name: "com.microsoft.samples" +summary: "This package contains the sample set of classes for testing DocFx doclet." +classes: +- "com.microsoft.samples.BasePartnerComponent" +- "com.microsoft.samples.BasePartnerComponentString" +- "com.microsoft.samples.KeyValuePair" +- "com.microsoft.samples.Link" +- "com.microsoft.samples.Subpackage" +- "com.microsoft.samples.SuperHero" +interfaces: +- "com.microsoft.samples.IPartner" +metadata: {} +package: "com.microsoft.samples" diff --git a/src/test/resources/expected-generated-files/toc.yml b/src/test/resources/expected-generated-files/toc.yml index a4e2eff..63b653f 100644 --- a/src/test/resources/expected-generated-files/toc.yml +++ b/src/test/resources/expected-generated-files/toc.yml @@ -4,67 +4,378 @@ items: - uid: "com.microsoft.samples.agreements.AgreementDetailsCollectionOperations" name: "AgreementDetailsCollectionOperations" + items: + - uid: "com.microsoft.samples.agreements.AgreementDetailsCollectionOperations.AgreementDetailsCollectionOperations*" + name: "AgreementDetailsCollectionOperations" + type: "constructor" + - uid: "com.microsoft.samples.agreements.AgreementDetailsCollectionOperations.get*" + name: "get" + type: "method" - uid: "com.microsoft.samples.agreements.AgreementMetaData" name: "AgreementMetaData" + items: + - uid: "com.microsoft.samples.agreements.AgreementMetaData.AgreementMetaData*" + name: "AgreementMetaData" + type: "constructor" + - uid: "com.microsoft.samples.agreements.AgreementMetaData.getAgreementLink*" + name: "getAgreementLink" + type: "method" + - uid: "com.microsoft.samples.agreements.AgreementMetaData.getTemplateId*" + name: "getTemplateId" + type: "method" + - uid: "com.microsoft.samples.agreements.AgreementMetaData.getVersionRank*" + name: "getVersionRank" + type: "method" + - uid: "com.microsoft.samples.agreements.AgreementMetaData.setAgreementLink*" + name: "setAgreementLink" + type: "method" + - uid: "com.microsoft.samples.agreements.AgreementMetaData.setTemplateId*" + name: "setTemplateId" + type: "method" + - uid: "com.microsoft.samples.agreements.AgreementMetaData.setVersionRank*" + name: "setVersionRank" + type: "method" - uid: "com.microsoft.samples.agreements.IAgreementDetailsCollection" name: "IAgreementDetailsCollection" + items: + - uid: "com.microsoft.samples.agreements.IAgreementDetailsCollection.get*" + name: "get" + type: "method" - uid: "com.microsoft.samples.agreements.ResourceCollection" name: "ResourceCollection" + items: + - uid: "com.microsoft.samples.agreements.ResourceCollection.ResourceCollection*" + name: "ResourceCollection" + type: "constructor" - uid: "com.microsoft.samples.commentinheritance" name: "com.microsoft.samples.commentinheritance" items: - uid: "com.microsoft.samples.commentinheritance.Animal" name: "Animal" + items: + - uid: "com.microsoft.samples.commentinheritance.Animal.Animal*" + name: "Animal" + type: "constructor" + - uid: "com.microsoft.samples.commentinheritance.Animal.breathe*" + name: "breathe" + type: "method" + - uid: "com.microsoft.samples.commentinheritance.Animal.feed*" + name: "feed" + type: "method" + - uid: "com.microsoft.samples.commentinheritance.Animal.getKind*" + name: "getKind" + type: "method" + - uid: "com.microsoft.samples.commentinheritance.Animal.verballyCommunicate*" + name: "verballyCommunicate" + type: "method" - uid: "com.microsoft.samples.commentinheritance.Carnivorous" name: "Carnivorous" + items: + - uid: "com.microsoft.samples.commentinheritance.Carnivorous.eat*" + name: "eat" + type: "method" + - uid: "com.microsoft.samples.commentinheritance.Carnivorous.getKind*" + name: "getKind" + type: "method" - uid: "com.microsoft.samples.commentinheritance.Dog" name: "Dog" + items: + - uid: "com.microsoft.samples.commentinheritance.Dog.Dog*" + name: "Dog" + type: "constructor" + - uid: "com.microsoft.samples.commentinheritance.Dog.eat*" + name: "eat" + type: "method" + - uid: "com.microsoft.samples.commentinheritance.Dog.feed*" + name: "feed" + type: "method" + - uid: "com.microsoft.samples.commentinheritance.Dog.getHairColor*" + name: "getHairColor" + type: "method" + - uid: "com.microsoft.samples.commentinheritance.Dog.getKind*" + name: "getKind" + type: "method" + - uid: "com.microsoft.samples.commentinheritance.Dog.giveBirth*" + name: "giveBirth" + type: "method" + - uid: "com.microsoft.samples.commentinheritance.Dog.verballyCommunicate*" + name: "verballyCommunicate" + type: "method" - uid: "com.microsoft.samples.commentinheritance.Herbivorous" name: "Herbivorous" + items: + - uid: "com.microsoft.samples.commentinheritance.Herbivorous.eat*" + name: "eat" + type: "method" + - uid: "com.microsoft.samples.commentinheritance.Herbivorous.getKind*" + name: "getKind" + type: "method" - uid: "com.microsoft.samples.commentinheritance.Herbivorous.Plant" name: "Herbivorous.Plant" + items: + - uid: "com.microsoft.samples.commentinheritance.Herbivorous.Plant.Plant*" + name: "Plant" + type: "constructor" - uid: "com.microsoft.samples.commentinheritance.Mammal" name: "Mammal" + items: + - uid: "com.microsoft.samples.commentinheritance.Mammal.Mammal*" + name: "Mammal" + type: "constructor" + - uid: "com.microsoft.samples.commentinheritance.Mammal.getKind*" + name: "getKind" + type: "method" - uid: "com.microsoft.samples.commentinheritance.Omnivorous" name: "Omnivorous" + items: + - uid: "com.microsoft.samples.commentinheritance.Omnivorous.eat*" + name: "eat" + type: "method" + - uid: "com.microsoft.samples.commentinheritance.Omnivorous.getKind*" + name: "getKind" + type: "method" - uid: "com.microsoft.samples.commentinheritance.Organism" name: "Organism" + items: + - uid: "com.microsoft.samples.commentinheritance.Organism.getKind*" + name: "getKind" + type: "method" - uid: "com.microsoft.samples.commentinheritance.Viviparous" name: "Viviparous" + items: + - uid: "com.microsoft.samples.commentinheritance.Viviparous.getKind*" + name: "getKind" + type: "method" + - uid: "com.microsoft.samples.commentinheritance.Viviparous.giveBirth*" + name: "giveBirth" + type: "method" - uid: "com.microsoft.samples.offers" name: "com.microsoft.samples.offers" items: - uid: "com.microsoft.samples.offers.Offer" name: "Offer" + items: + - uid: "com.microsoft.samples.offers.Offer.Offer*" + name: "Offer" + type: "constructor" + - uid: "com.microsoft.samples.offers.Offer.getReselleeQualifications*" + name: "getReselleeQualifications" + type: "method" + - uid: "com.microsoft.samples.offers.Offer.getResellerQualifications*" + name: "getResellerQualifications" + type: "method" + - uid: "com.microsoft.samples.offers.Offer.setReselleeQualifications*" + name: "setReselleeQualifications" + type: "method" + - uid: "com.microsoft.samples.offers.Offer.setResellerQualifications*" + name: "setResellerQualifications" + type: "method" - uid: "com.microsoft.samples" name: "com.microsoft.samples" items: - uid: "com.microsoft.samples.BasePartnerComponent" name: "BasePartnerComponent" + items: + - uid: "com.microsoft.samples.BasePartnerComponent.BasePartnerComponent*" + name: "BasePartnerComponent" + type: "constructor" + - uid: "com.microsoft.samples.BasePartnerComponent.testBase*" + name: "testBase" + type: "method" + - uid: "com.microsoft.samples.BasePartnerComponent.testInherited*" + name: "testInherited" + type: "method" - uid: "com.microsoft.samples.BasePartnerComponentString" name: "BasePartnerComponentString" + items: + - uid: "com.microsoft.samples.BasePartnerComponentString.BasePartnerComponentString*" + name: "BasePartnerComponentString" + type: "constructor" + - uid: "com.microsoft.samples.BasePartnerComponentString.testInherited*" + name: "testInherited" + type: "method" - uid: "com.microsoft.samples.IPartner" name: "IPartner" + items: + - uid: "com.microsoft.samples.IPartner.getCredentials*" + name: "getCredentials" + type: "method" - uid: "com.microsoft.samples.KeyValuePair" name: "KeyValuePair" + items: + - uid: "com.microsoft.samples.KeyValuePair.KeyValuePair*" + name: "KeyValuePair" + type: "constructor" + - uid: "com.microsoft.samples.KeyValuePair.getKey*" + name: "getKey" + type: "method" + - uid: "com.microsoft.samples.KeyValuePair.getValue*" + name: "getValue" + type: "method" - uid: "com.microsoft.samples.Link" name: "Link" + items: + - uid: "com.microsoft.samples.Link.Link*" + name: "Link" + type: "constructor" + - uid: "com.microsoft.samples.Link.getHeaders*" + name: "getHeaders" + type: "method" + - uid: "com.microsoft.samples.Link.getMethod*" + name: "getMethod" + type: "method" + - uid: "com.microsoft.samples.Link.setHeaders*" + name: "setHeaders" + type: "method" + - uid: "com.microsoft.samples.Link.setMethod*" + name: "setMethod" + type: "method" - uid: "com.microsoft.samples.Subpackage" name: "Subpackage" + items: + - uid: "com.microsoft.samples.Subpackage.Subpackage*" + name: "Subpackage" + type: "constructor" - uid: "com.microsoft.samples.SuperHero" name: "SuperHero" + items: + - uid: "com.microsoft.samples.SuperHero.ReturnNull*" + name: "ReturnNull" + type: "method" + - uid: "com.microsoft.samples.SuperHero.SOME_PUBLIC_STRING" + name: "SOME_PUBLIC_STRING" + type: "field" + - uid: "com.microsoft.samples.SuperHero.SuperHero*" + name: "SuperHero" + type: "constructor" + - uid: "com.microsoft.samples.SuperHero.getDefense*" + name: "getDefense" + type: "method" + - uid: "com.microsoft.samples.SuperHero.getHealth*" + name: "getHealth" + type: "method" + - uid: "com.microsoft.samples.SuperHero.getHeroName*" + name: "getHeroName" + type: "method" + - uid: "com.microsoft.samples.SuperHero.getLastName*" + name: "getLastName" + type: "method" + - uid: "com.microsoft.samples.SuperHero.getUniquePower*" + name: "getUniquePower" + type: "method" + - uid: "com.microsoft.samples.SuperHero.setDefense*" + name: "setDefense" + type: "method" + - uid: "com.microsoft.samples.SuperHero.setHealth*" + name: "setHealth" + type: "method" + - uid: "com.microsoft.samples.SuperHero.setHeroName*" + name: "setHeroName" + type: "method" + - uid: "com.microsoft.samples.SuperHero.setUniquePower*" + name: "setUniquePower" + type: "method" + - uid: "com.microsoft.samples.SuperHero.successfullyAttacked*" + name: "successfullyAttacked" + type: "method" - uid: "com.microsoft.samples.subpackage" name: "com.microsoft.samples.subpackage" items: - uid: "com.microsoft.samples.subpackage.CustomException" name: "CustomException" + items: + - uid: "com.microsoft.samples.subpackage.CustomException.CustomException*" + name: "CustomException" + type: "constructor" + - uid: "com.microsoft.samples.subpackage.CustomException.makeSomething*" + name: "makeSomething" + type: "method" - uid: "com.microsoft.samples.subpackage.Display" name: "Display" + items: + - uid: "com.microsoft.samples.subpackage.Display.hide*" + name: "hide" + type: "method" + - uid: "com.microsoft.samples.subpackage.Display.show*" + name: "show" + type: "method" + - uid: "com.microsoft.samples.subpackage.HttpStatusCode" + name: "HttpStatusCode" + items: + - uid: "com.microsoft.samples.subpackage.HttpStatusCode.BADREQUEST" + name: "BADREQUEST" + type: "field" + - uid: "com.microsoft.samples.subpackage.HttpStatusCode.CONFLICT" + name: "CONFLICT" + type: "field" + - uid: "com.microsoft.samples.subpackage.HttpStatusCode.EXPECTATIONFAILED" + name: "EXPECTATIONFAILED" + type: "field" + - uid: "com.microsoft.samples.subpackage.HttpStatusCode.FORBIDDEN" + name: "FORBIDDEN" + type: "field" + - uid: "com.microsoft.samples.subpackage.HttpStatusCode.HttpStatusCode*" + name: "HttpStatusCode" + type: "constructor" + - uid: "com.microsoft.samples.subpackage.HttpStatusCode.NOTFOUND" + name: "NOTFOUND" + type: "field" + - uid: "com.microsoft.samples.subpackage.HttpStatusCode.SERVICEUNAVAILABLE" + name: "SERVICEUNAVAILABLE" + type: "field" + - uid: "com.microsoft.samples.subpackage.HttpStatusCode.UNAUTHORIZED" + name: "UNAUTHORIZED" + type: "field" - uid: "com.microsoft.samples.subpackage.Person" name: "Person" + items: + - uid: "com.microsoft.samples.subpackage.Person.Person*" + name: "Person" + type: "constructor" + - uid: "com.microsoft.samples.subpackage.Person.age" + name: "age" + type: "field" + - uid: "com.microsoft.samples.subpackage.Person.buildPerson*" + name: "buildPerson" + type: "method" + - uid: "com.microsoft.samples.subpackage.Person.getFirstName*" + name: "getFirstName" + type: "method" + - uid: "com.microsoft.samples.subpackage.Person.getLastName*" + name: "getLastName" + type: "method" + - uid: "com.microsoft.samples.subpackage.Person.getSomeSet*" + name: "getSomeSet" + type: "method" + - uid: "com.microsoft.samples.subpackage.Person.setFirstName*" + name: "setFirstName" + type: "method" + - uid: "com.microsoft.samples.subpackage.Person.setLastName*" + name: "setLastName" + type: "method" - uid: "com.microsoft.samples.subpackage.Person.IdentificationInfo" name: "Person.IdentificationInfo" + items: + - uid: "com.microsoft.samples.subpackage.Person.IdentificationInfo.IdentificationInfo*" + name: "IdentificationInfo" + type: "constructor" - uid: "com.microsoft.samples.subpackage.Person.IdentificationInfo.Gender" name: "Person.IdentificationInfo.Gender" - uid: "com.microsoft.samples.subpackage.Tuple" name: "Tuple" + items: + - uid: "com.microsoft.samples.subpackage.Tuple.Tuple*" + name: "Tuple" + type: "constructor" + - uid: "com.microsoft.samples.subpackage.Tuple.getItem1*" + name: "getItem1" + type: "method" + - uid: "com.microsoft.samples.subpackage.Tuple.getItem2*" + name: "getItem2" + type: "method" + - uid: "com.microsoft.samples.subpackage.Tuple.setItem1*" + name: "setItem1" + type: "method" + - uid: "com.microsoft.samples.subpackage.Tuple.setItem2*" + name: "setItem2" + type: "method"